Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.871/1.871, allocations: 288.3 MB / 303.2 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 177.1 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.4 MB / 0.6306 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009114/0.0009115, allocations: 101.1 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005187/0.0005186, allocations: 17.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2755, allocations: 115.3 MB / 0.9794 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7983/1.074, allocations: 138.6 MB / 1.115 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/1.074, allocations: 72.5 kB / 1.115 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01129/1.085, allocations: 3.966 MB / 1.119 GB, free: 32.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/1.085, allocations: 0 / 1.119 GB, free: 32.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.175e-05/1.085, allocations: 4 kB / 1.119 GB, free: 32 MB / 0.698 GB 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.0007692/1.086, allocations: 491.5 kB / 1.119 GB, free: 31.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/1.086, allocations: 15.55 kB / 1.119 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/1.086, allocations: 30.03 kB / 1.119 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/1.087, allocations: 169.7 kB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/1.087, allocations: 21.97 kB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/1.087, allocations: 33.69 kB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/1.087, allocations: 209.3 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.087, allocations: 7.938 kB / 1.12 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/1.087, allocations: 14.05 kB / 1.12 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/1.087, allocations: 3.812 kB / 1.12 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/1.087, allocations: 97.66 kB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008758/1.088, allocations: 0.5525 MB / 1.12 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/1.089, allocations: 298 kB / 1.121 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/1.089, allocations: 7.703 kB / 1.121 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006988/1.089, allocations: 0.5073 MB / 1.121 GB, free: 30.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 2.053e-06/1.089, allocations: 0 / 1.121 GB, free: 30.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.0009762/1.09, allocations: 0.6235 MB / 1.122 GB, free: 30.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/1.09, allocations: 65.97 kB / 1.122 GB, free: 30.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/1.091, allocations: 123.5 kB / 1.122 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.091, allocations: 61.64 kB / 1.122 GB, free: 30.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/1.091, allocations: 102.9 kB / 1.122 GB, free: 30.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.954e-05/1.091, allocations: 106 kB / 1.122 GB, free: 30.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/1.091, allocations: 13.47 kB / 1.122 GB, free: 30.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.091, allocations: 336 kB / 1.122 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/1.091, allocations: 176.5 kB / 1.123 GB, free: 30.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/1.092, allocations: 272.2 kB / 1.123 GB, free: 30.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/1.092, allocations: 195.9 kB / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.092, allocations: 3.844 kB / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008567/1.093, allocations: 0.5564 MB / 1.124 GB, free: 29.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/1.093, allocations: 65.31 kB / 1.124 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.093, allocations: 7.812 kB / 1.124 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/1.093, allocations: 8.219 kB / 1.124 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/1.093, allocations: 28.91 kB / 1.124 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/1.093, allocations: 11.59 kB / 1.124 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/1.094, allocations: 85.39 kB / 1.124 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/1.094, allocations: 26.25 kB / 1.124 GB, free: 29.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.falCleTruIni.y,$PRE.truCleTruIni.y,$PRE.falCleFalIni.y,$PRE.truCleFalIni.y,$PRE.swiCleInp.y,$PRE.swiCleInp1.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.falCleTruIni.u,falCleTruIni.u,$PRE.falCleTruIni.clr,falCleTruIni.clr,falCleTruIni.y,$PRE.truCleTruIni.u,truCleTruIni.u,$PRE.truCleTruIni.clr,truCleTruIni.clr,truCleTruIni.y,$PRE.falCleFalIni.u,falCleFalIni.u,$PRE.falCleFalIni.clr,falCleFalIni.clr,falCleFalIni.y,$PRE.truCleFalIni.u,truCleFalIni.u,$PRE.truCleFalIni.clr,truCleFalIni.clr,truCleFalIni.y,$PRE.swiCleInp.u,swiCleInp.u,$PRE.swiCleInp.clr,swiCleInp.clr,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,$PRE.swiCleInp1.clr,swiCleInp1.clr,swiCleInp1.y,$PRE.cleInp.y,cleInp.y,$PRE.latInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002321/1.094, allocations: 169.3 kB / 1.124 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/1.094, allocations: 33.3 kB / 1.124 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.017e-05/1.094, allocations: 34.78 kB / 1.124 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/1.094, allocations: 7.719 kB / 1.124 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.094, allocations: 3.938 kB / 1.124 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.094, allocations: 2.812 kB / 1.124 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/1.095, allocations: 0.8946 MB / 1.125 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.095, allocations: 0 / 1.125 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/1.095, allocations: 11.44 kB / 1.125 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/1.095, allocations: 7.781 kB / 1.125 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/1.095, allocations: 23.91 kB / 1.125 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/1.095, allocations: 3.875 kB / 1.125 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.095, allocations: 0 / 1.125 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006772/1.096, allocations: 0.5786 MB / 1.126 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/1.096, allocations: 96.7 kB / 1.126 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/1.096, allocations: 25.03 kB / 1.126 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-05/1.096, allocations: 10.61 kB / 1.126 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/1.096, allocations: 78.14 kB / 1.126 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/1.096, allocations: 37.08 kB / 1.126 GB, free: 29.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.132e-05/1.097, allocations: 93.52 kB / 1.126 GB, free: 29.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.097, allocations: 0 / 1.126 GB, free: 29.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004006/1.097, allocations: 104.1 kB / 1.126 GB, free: 29.01 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,falCleTruIni.u,falCleTruIni.clr,falCleTruIni.y,truCleTruIni.u,truCleTruIni.clr,truCleTruIni.y,falCleFalIni.u,falCleFalIni.clr,falCleFalIni.y,truCleFalIni.u,truCleFalIni.clr,truCleFalIni.y,swiCleInp.u,swiCleInp.clr,swiCleInp.y,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 18 (truCleFalIni.u,truCleFalIni.clr,truCleFalIni.y,falCleTruIni.u,falCleTruIni.clr,falCleTruIni.y,truCleTruIni.u,truCleTruIni.clr,truCleTruIni.y,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,swiCleInp.u,swiCleInp.clr,swiCleInp.y,falCleFalIni.u,falCleFalIni.clr,falCleFalIni.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002589/1.097, allocations: 160.9 kB / 1.126 GB, free: 28.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007565/1.098, allocations: 0.5791 MB / 1.127 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.098, allocations: 0 / 1.127 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005159/1.099, allocations: 302.9 kB / 1.127 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/1.099, allocations: 31.64 kB / 1.127 GB, free: 28.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009183/1.1, allocations: 0.5114 MB / 1.128 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/1.1, allocations: 0.7442 MB / 1.128 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001566/1.1, allocations: 36 kB / 1.128 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/1.101, allocations: 45.28 kB / 1.128 GB, free: 27.8 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/1.101, allocations: 0 / 1.128 GB, free: 27.8 MB / 0.698 GB Notification: Performance of Templates: time 0.007449/1.108, allocations: 4.216 MB / 1.132 GB, free: 26.66 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1)