Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.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.001237/0.001237, allocations: 82.64 kB / 19.94 MB, free: 1.777 MB / 14.72 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.001313/0.001313, allocations: 164.5 kB / 23.22 MB, free: 4.902 MB / 14.72 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 1.359/1.359, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8952/0.8952, allocations: 114 MB / 373.9 MB, free: 13.28 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.5547 GB, free: 2.629 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.143e-05, allocations: 3.094 kB / 0.5547 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002048/0.002079, allocations: 0.7432 MB / 0.5554 GB, free: 1.891 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.004005, allocations: 1.263 MB / 0.5566 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.004059, allocations: 4 kB / 0.5567 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.276e-05/0.004102, allocations: 15.8 kB / 0.5567 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.517e-05/0.004177, allocations: 11.86 kB / 0.5567 GB, free: 0.582 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006921/0.004869, allocations: 259.4 kB / 0.5569 GB, free: 348 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.005198, allocations: 255.6 kB / 0.5572 GB, free: 92 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.005345, allocations: 49.25 kB / 0.5572 GB, free: 44 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.005562, allocations: 143.8 kB / 0.5574 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.005713, allocations: 79.78 kB / 0.5574 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.87e-05/0.005762, allocations: 28 kB / 0.5575 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.799e-05/0.00585, allocations: 31.98 kB / 0.5575 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.005903, allocations: 39.89 kB / 0.5575 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.006013, allocations: 75.88 kB / 0.5576 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.006376, allocations: 287.2 kB / 0.5579 GB, free: 15.37 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.006379, allocations: 0 / 0.5579 GB, free: 15.37 MB / 478.1 MB Notification: Performance of FrontEnd: time 6.22e-07/0.00638, allocations: 0 / 0.5579 GB, free: 15.37 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.006384, allocations: 0 / 0.5579 GB, free: 15.37 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006472/0.007031, allocations: 421.2 kB / 0.5583 GB, free: 14.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.007067, allocations: 8.625 kB / 0.5583 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.007134, allocations: 16.89 kB / 0.5583 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.007651, allocations: 189.6 kB / 0.5585 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.007674, allocations: 12.38 kB / 0.5585 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.007723, allocations: 20.38 kB / 0.5585 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.007945, allocations: 113.5 kB / 0.5586 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.007956, allocations: 192 / 0.5586 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.007973, allocations: 4.375 kB / 0.5586 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.007981, allocations: 8.125 kB / 0.5586 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.008093, allocations: 59.89 kB / 0.5587 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.008714, allocations: 372 kB / 0.559 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.008961, allocations: 134.6 kB / 0.5592 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.009076, allocations: 60.77 kB / 0.5592 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.009091, allocations: 4 kB / 0.5592 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002745/0.009365, allocations: 175.2 kB / 0.5594 GB, free: 13.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.009367, allocations: 0 / 0.5594 GB, free: 13.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=32): time 0.0005815/0.009948, allocations: 337.5 kB / 0.5597 GB, free: 13.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.009994, allocations: 59.41 kB / 0.5598 GB, free: 13.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.01014, allocations: 159.2 kB / 0.5599 GB, free: 13.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.01019, allocations: 37.7 kB / 0.56 GB, free: 13.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01029, allocations: 113 kB / 0.5601 GB, free: 12.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.01035, allocations: 67.53 kB / 0.5601 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.01049, allocations: 98 kB / 0.5602 GB, free: 12.78 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.01066, allocations: 334.8 kB / 0.5605 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.0109, allocations: 164.2 kB / 0.5607 GB, free: 12.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.01121, allocations: 233.4 kB / 0.5609 GB, free: 12.01 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.01159, allocations: 286.8 kB / 0.5612 GB, free: 11.69 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.01159, allocations: 0 / 0.5612 GB, free: 11.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006995/0.01229, allocations: 485.7 kB / 0.5617 GB, free: 11.19 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/0.01234, allocations: 67.41 kB / 0.5617 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.01236, allocations: 3.984 kB / 0.5617 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.01238, allocations: 4.188 kB / 0.5617 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.997e-05/0.01243, allocations: 23.88 kB / 0.5618 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.01244, allocations: 4 kB / 0.5618 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.01278, allocations: 71.72 kB / 0.5618 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.01282, allocations: 19.98 kB / 0.5619 GB, free: 10.98 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,tru.y,fal.y,truCleTruIni.clr,truCleFalIni.clr,falCleTruIni.clr,falCleFalIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001583/0.01298, allocations: 157.7 kB / 0.562 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.01301, allocations: 19.89 kB / 0.562 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.01306, allocations: 21.97 kB / 0.562 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01306, allocations: 0 / 0.562 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.01307, allocations: 8 kB / 0.562 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01307, allocations: 0 / 0.562 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007297/0.0138, allocations: 0.55 MB / 0.5626 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.0138, allocations: 0 / 0.5626 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.01383, allocations: 15.94 kB / 0.5626 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.01383, allocations: 3.938 kB / 0.5626 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.01385, allocations: 11.98 kB / 0.5626 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01385, allocations: 0 / 0.5626 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01385, allocations: 0 / 0.5626 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.01427, allocations: 360.5 kB / 0.563 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.01429, allocations: 15.91 kB / 0.563 GB, free: 9.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.01432, allocations: 11.92 kB / 0.563 GB, free: 9.758 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.01439, allocations: 8 kB / 0.563 GB, free: 9.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.01445, allocations: 19.95 kB / 0.563 GB, free: 9.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.01448, allocations: 15.94 kB / 0.563 GB, free: 9.715 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.374e-05/0.01455, allocations: 112.7 kB / 0.5631 GB, free: 9.605 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01455, allocations: 0 / 0.5631 GB, free: 9.605 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003138/0.01487, allocations: 63.92 kB / 0.5632 GB, free: 9.543 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (swiCleInp1.clr,swiCleInp.clr,truCleFalIni.u,swiCleInp1.u,swiCleInp.u,truCleTruIni.u,falCleTruIni.u,falCleFalIni.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 0.0001822/0.01505, allocations: 113.2 kB / 0.5633 GB, free: 9.426 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005588/0.01561, allocations: 410.6 kB / 0.5637 GB, free: 8.988 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01561, allocations: 384 / 0.5637 GB, free: 8.988 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.01575, allocations: 95.89 kB / 0.5638 GB, free: 8.895 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.01607, allocations: 27.92 kB / 0.5638 GB, free: 8.867 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.01662, allocations: 318.9 kB / 0.5641 GB, free: 8.527 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.224e-05/0.01671, allocations: 108.5 kB / 0.5642 GB, free: 8.406 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.735e-05/0.01677, allocations: 26.28 kB / 0.5642 GB, free: 8.383 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.01681, allocations: 28.48 kB / 0.5643 GB, free: 8.352 MB / 478.1 MB Notification: Performance of SimCode: time 3.4e-07/0.01681, allocations: 0 / 0.5643 GB, free: 8.352 MB / 478.1 MB Notification: Performance of Templates: time 0.006571/0.02338, allocations: 2.828 MB / 0.567 GB, free: 5.574 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0516260750591755] Failed to read output from testmodel.py, exit status != 0: 0.03185129538178444 0.045712641000000005 0.036358706000000005 Calling exit ...