Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009405/0.0009405, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 170.5 kB / 25.18 MB, free: 8.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8696/0.8696, allocations: 177.2 MB / 205.6 MB, free: 4.359 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.903/1.903, allocations: 389.6 MB / 0.6364 GB, free: 13.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.7756 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.662e-05, allocations: 5.688 kB / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001217/0.001234, allocations: 0.7428 MB / 0.7763 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.00269, allocations: 1.306 MB / 0.7776 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.002738, allocations: 0 / 0.7776 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.002773, allocations: 3.938 kB / 0.7776 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.204e-05/0.002855, allocations: 23.78 kB / 0.7776 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.00334, allocations: 303.2 kB / 0.7779 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.003547, allocations: 259.5 kB / 0.7782 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.195e-05/0.003619, allocations: 8.188 kB / 0.7782 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.003745, allocations: 143.8 kB / 0.7783 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.003853, allocations: 71.88 kB / 0.7784 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.003883, allocations: 20 kB / 0.7784 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-05/0.003959, allocations: 43.97 kB / 0.7784 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.00398, allocations: 15.92 kB / 0.7784 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.004043, allocations: 75.88 kB / 0.7785 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.00422, allocations: 191.5 kB / 0.7787 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.004222, allocations: 0 / 0.7787 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.61e-07/0.004222, allocations: 0 / 0.7787 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.004226, allocations: 0 / 0.7787 GB, free: 11.34 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003697/0.004595, allocations: 389.7 kB / 0.7791 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.004623, allocations: 8.031 kB / 0.7791 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.004664, allocations: 20.91 kB / 0.7791 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.648e-05/0.00474, allocations: 121.6 kB / 0.7792 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.004757, allocations: 12.38 kB / 0.7792 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.004781, allocations: 16.38 kB / 0.7792 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.269e-05/0.004853, allocations: 58.92 kB / 0.7793 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-06/0.004859, allocations: 192 / 0.7793 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.004866, allocations: 4.375 kB / 0.7793 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.004872, allocations: 8.125 kB / 0.7793 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.376e-05/0.004886, allocations: 4 kB / 0.7793 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.005141, allocations: 216.1 kB / 0.7795 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.467e-05/0.005176, allocations: 26.56 kB / 0.7795 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.005192, allocations: 12.86 kB / 0.7796 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-06/0.005197, allocations: 4 kB / 0.7796 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.798e-05/0.005285, allocations: 95.39 kB / 0.7796 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.005286, allocations: 0 / 0.7796 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0001337/0.00542, allocations: 101.5 kB / 0.7797 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.005447, allocations: 51.41 kB / 0.7798 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.581e-05/0.005512, allocations: 142.1 kB / 0.7799 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.005534, allocations: 33.7 kB / 0.78 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.005576, allocations: 100.1 kB / 0.7801 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.00559, allocations: 19.89 kB / 0.7801 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.005655, allocations: 61.66 kB / 0.7801 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.00573, allocations: 326.8 kB / 0.7804 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.341e-05/0.005824, allocations: 145.1 kB / 0.7806 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.00593, allocations: 202.9 kB / 0.7808 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.00606, allocations: 218.9 kB / 0.781 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006062, allocations: 0 / 0.781 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002459/0.006308, allocations: 379.6 kB / 0.7813 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.006354, allocations: 101 kB / 0.7814 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.006358, allocations: 3.938 kB / 0.7815 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.006366, allocations: 4 kB / 0.7815 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.639e-05/0.006383, allocations: 7.984 kB / 0.7815 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.006387, allocations: 4 kB / 0.7815 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.006566, allocations: 64.06 kB / 0.7815 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.006587, allocations: 11.98 kB / 0.7815 GB, free: 8.102 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.321e-05/0.00665, allocations: 125.8 kB / 0.7817 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.006661, allocations: 15.98 kB / 0.7817 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.006682, allocations: 8.375 kB / 0.7817 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.006685, allocations: 4 kB / 0.7817 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.006686, allocations: 0 / 0.7817 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006689, allocations: 0 / 0.7817 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.32e-05/0.006752, allocations: 89.81 kB / 0.7818 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.006753, allocations: 4 kB / 0.7818 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-06/0.006759, allocations: 7.984 kB / 0.7818 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.00676, allocations: 0 / 0.7818 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-06/0.006765, allocations: 0 / 0.7818 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.006766, allocations: 0 / 0.7818 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.006767, allocations: 3.938 kB / 0.7818 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.412e-05/0.006842, allocations: 101.4 kB / 0.7819 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-06/0.006848, allocations: 3.953 kB / 0.7819 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.006859, allocations: 8 kB / 0.7819 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.00687, allocations: 0 / 0.7819 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.006893, allocations: 15.92 kB / 0.7819 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.006898, allocations: 7.984 kB / 0.7819 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.486e-05/0.006913, allocations: 20.84 kB / 0.7819 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006913, allocations: 0 / 0.7819 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001324/0.007045, allocations: 51.92 kB / 0.782 GB, free: 7.59 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.875e-05/0.007134, allocations: 84.36 kB / 0.7821 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.007366, allocations: 384 kB / 0.7824 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.007371, allocations: 3.938 kB / 0.7824 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.324e-05/0.007404, allocations: 37.19 kB / 0.7825 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.007518, allocations: 32.19 kB / 0.7825 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.007751, allocations: 206.8 kB / 0.7827 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.557e-05/0.007797, allocations: 83.05 kB / 0.7828 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.007914, allocations: 95.33 kB / 0.7829 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.007915, allocations: 4 kB / 0.7829 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of Templates: time 0.002097/0.01001, allocations: 1.911 MB / 0.7847 GB, free: 4.652 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.420637173578143]