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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001179/0.001179, allocations: 190.3 kB / 377.1 MB, free: 1.508 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.752/1.752, allocations: 205.4 MB / 0.6367 GB, free: 8.602 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.0008672/0.0008669, allocations: 92.52 kB / 0.751 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003984, allocations: 8 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.308, allocations: 116.3 MB / 0.9884 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7855/1.094, allocations: 139.2 MB / 1.124 GB, free: 35.49 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.094, allocations: 72.58 kB / 1.124 GB, free: 35.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006973/1.101, allocations: 2.454 MB / 1.127 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.255e-06/1.101, allocations: 4 kB / 1.127 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.101, allocations: 0 / 1.127 GB, free: 33.64 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.0006346/1.102, allocations: 389 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/1.102, allocations: 12.03 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.264e-05/1.102, allocations: 13.58 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/1.102, allocations: 163.1 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/1.102, allocations: 16.59 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/1.102, allocations: 4.938 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/1.102, allocations: 83.34 kB / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/1.102, allocations: 0 / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/1.102, allocations: 4 kB / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/1.102, allocations: 0 / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/1.103, allocations: 38.98 kB / 1.128 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/1.103, allocations: 331.9 kB / 1.128 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/1.103, allocations: 74.38 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/1.103, allocations: 2.406 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/1.104, allocations: 112.8 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 2.355e-06/1.104, allocations: 0 / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0005665/1.104, allocations: 179.3 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/1.104, allocations: 55.41 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/1.105, allocations: 110.4 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/1.105, allocations: 33.64 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/1.105, allocations: 91.98 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/1.105, allocations: 15.81 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/1.105, allocations: 4 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.758e-05/1.105, allocations: 322.5 kB / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/1.105, allocations: 51.17 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/1.105, allocations: 77.22 kB / 1.129 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/1.105, allocations: 73.27 kB / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.105, allocations: 0 / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004242/1.106, allocations: 201.7 kB / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/1.106, allocations: 41.17 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.106, allocations: 4.062 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/1.106, allocations: 0 / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/1.106, allocations: 19.31 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/1.106, allocations: 0 / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/1.106, allocations: 38.48 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/1.106, allocations: 16 kB / 1.129 GB, free: 31.08 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 0.0001196/1.106, allocations: 126.2 kB / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/1.106, allocations: 8.562 kB / 1.129 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/1.106, allocations: 8.375 kB / 1.129 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.106, allocations: 4 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.106, allocations: 1.312 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.106, allocations: 0.9844 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/1.107, allocations: 414.6 kB / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.107, allocations: 0 / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/1.107, allocations: 7.938 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.107, allocations: 0 / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/1.107, allocations: 3.094 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.107, allocations: 4 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.107, allocations: 0.625 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/1.108, allocations: 249.6 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/1.108, allocations: 85.02 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/1.108, allocations: 4 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-05/1.108, allocations: 7.188 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/1.108, allocations: 7.609 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/1.108, allocations: 0.75 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.812e-05/1.108, allocations: 100.5 kB / 1.13 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.108, allocations: 0 / 1.13 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002873/1.108, allocations: 28 kB / 1.13 GB, free: 30.02 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.0002435/1.108, allocations: 112.5 kB / 1.13 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003718/1.109, allocations: 189.6 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.109, allocations: 0 / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/1.109, allocations: 55.58 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/1.109, allocations: 15.33 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/1.11, allocations: 183.2 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/1.11, allocations: 0.6948 MB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.131e-05/1.11, allocations: 4.672 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/1.11, allocations: 11.44 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/1.11, allocations: 0 / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of Templates: time 0.004702/1.115, allocations: 1.489 MB / 1.133 GB, free: 27.94 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)