Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 293 MB / 309 MB, free: 4.793 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.001415/0.001415, allocations: 184 kB / 378.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.4 MB / 0.6383 GB, free: 9.07 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007202/0.00072, allocations: 96.95 kB / 0.7527 GB, free: 62.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004099, allocations: 16 kB / 0.8768 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2552, allocations: 116.4 MB / 0.9905 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6989/0.9541, allocations: 139.3 MB / 1.127 GB, free: 34.72 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.9544, allocations: 71.3 kB / 1.127 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006537/0.961, allocations: 2.472 MB / 1.129 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.165e-06/0.961, allocations: 0 / 1.129 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.961, allocations: 0 / 1.129 GB, free: 32.87 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004815/0.9615, allocations: 401.7 kB / 1.129 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.9616, allocations: 8.031 kB / 1.129 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.9616, allocations: 12.84 kB / 1.129 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.9618, allocations: 168.5 kB / 1.13 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.9618, allocations: 5.688 kB / 1.13 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.9619, allocations: 8.375 kB / 1.13 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.9621, allocations: 76.12 kB / 1.13 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.9621, allocations: 4.125 kB / 1.13 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.9621, allocations: 4.594 kB / 1.13 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.9621, allocations: 0 / 1.13 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.9623, allocations: 46.61 kB / 1.13 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.9628, allocations: 323 kB / 1.13 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.963, allocations: 73.16 kB / 1.13 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.9631, allocations: 45.23 kB / 1.13 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.9631, allocations: 3.938 kB / 1.13 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.9634, allocations: 105.3 kB / 1.13 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.9634, allocations: 0 / 1.13 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0004977/0.9639, allocations: 187.9 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.964, allocations: 55.41 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/0.9641, allocations: 117.8 kB / 1.131 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.9641, allocations: 25.7 kB / 1.131 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.9641, allocations: 88.14 kB / 1.131 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.9642, allocations: 24.64 kB / 1.131 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.467e-05/0.9642, allocations: 3.422 kB / 1.131 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.804e-05/0.9643, allocations: 318.8 kB / 1.131 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.9644, allocations: 58.3 kB / 1.131 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.9646, allocations: 65.52 kB / 1.131 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.9648, allocations: 131.7 kB / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9648, allocations: 7.938 kB / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003716/0.9652, allocations: 193.3 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.9653, allocations: 37.08 kB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9653, allocations: 1.031 kB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.9653, allocations: 0 / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.9654, allocations: 19.47 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.9654, allocations: 4.844 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.9656, allocations: 39.12 kB / 1.132 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.9657, allocations: 11.56 kB / 1.132 GB, free: 30.21 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 9.709e-05/0.9658, allocations: 126.5 kB / 1.132 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.9658, allocations: 11.94 kB / 1.132 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.9658, allocations: 11.84 kB / 1.132 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.9659, allocations: 0 / 1.132 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.9659, allocations: 0.5 kB / 1.132 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.9659, allocations: 0.6562 kB / 1.132 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.9663, allocations: 414.6 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.9663, allocations: 8.531 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.9664, allocations: 4 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.9664, allocations: 0 / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.9664, allocations: 4 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.9664, allocations: 0.5 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.9664, allocations: 3.422 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.9668, allocations: 241.8 kB / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.9668, allocations: 92.23 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.9668, allocations: 2.062 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.9669, allocations: 7.281 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.967, allocations: 8.844 kB / 1.132 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.967, allocations: 7.469 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.223e-05/0.967, allocations: 91.34 kB / 1.133 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.967, allocations: 4 kB / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002715/0.9673, allocations: 32 kB / 1.133 GB, free: 29.13 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001844/0.9675, allocations: 118.5 kB / 1.133 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003336/0.9678, allocations: 180.9 kB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9679, allocations: 0 / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.968, allocations: 52.36 kB / 1.133 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.9683, allocations: 16.67 kB / 1.133 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.9687, allocations: 180.9 kB / 1.133 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.9689, allocations: 0.6875 MB / 1.134 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.9689, allocations: 11.95 kB / 1.134 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.9689, allocations: 16.31 kB / 1.134 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.969, allocations: 0 / 1.134 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of Templates: time 0.003947/0.9729, allocations: 1.519 MB / 1.135 GB, free: 27.03 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)