Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.72/1.72, allocations: 297.8 MB / 313.7 MB, free: 108 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009879/0.0009875, allocations: 187.4 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.2 MB / 0.6626 GB, free: 4.258 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007716/0.0007716, allocations: 95.69 kB / 0.7808 GB, free: 50.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.0004112, allocations: 16.5 kB / 0.9088 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6779/0.6783, allocations: 120.3 MB / 1.026 GB, free: 55.93 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1597/0.8381, allocations: 141.5 MB / 1.164 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.8383, allocations: 71.48 kB / 1.165 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006535/0.8449, allocations: 2.471 MB / 1.167 GB, free: 196 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8449, allocations: 0 / 1.167 GB, free: 196 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.8449, allocations: 1.344 kB / 1.167 GB, free: 196 kB / 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.0004845/0.8454, allocations: 393.4 kB / 1.167 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.8455, allocations: 12.64 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.8455, allocations: 10.81 kB / 1.167 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.8457, allocations: 170.5 kB / 1.168 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.8457, allocations: 8.375 kB / 1.168 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.8457, allocations: 6.688 kB / 1.168 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.846, allocations: 74.62 kB / 1.168 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.846, allocations: 0.7969 kB / 1.168 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.846, allocations: 9.281 kB / 1.168 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.846, allocations: 1.094 kB / 1.168 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.8462, allocations: 48.41 kB / 1.168 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.8467, allocations: 327.1 kB / 1.168 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.8469, allocations: 71.97 kB / 1.168 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.847, allocations: 36.06 kB / 1.168 GB, free: 15 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.847, allocations: 0 / 1.168 GB, free: 15 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.8473, allocations: 110.8 kB / 1.168 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.8473, allocations: 0.6562 kB / 1.168 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0005138/0.8478, allocations: 188.8 kB / 1.168 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.8479, allocations: 57.75 kB / 1.168 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.848, allocations: 111.9 kB / 1.169 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.8481, allocations: 29.7 kB / 1.169 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.8481, allocations: 94.66 kB / 1.169 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.8482, allocations: 21.72 kB / 1.169 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.8482, allocations: 0.75 kB / 1.169 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.8483, allocations: 323.3 kB / 1.169 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.8485, allocations: 47.92 kB / 1.169 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.8487, allocations: 77.58 kB / 1.169 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.8489, allocations: 125.3 kB / 1.169 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8489, allocations: 0 / 1.169 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004183/0.8494, allocations: 199.7 kB / 1.169 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.8494, allocations: 42.95 kB / 1.169 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.8494, allocations: 2.312 kB / 1.169 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.8495, allocations: 0 / 1.169 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.8496, allocations: 18.7 kB / 1.169 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.8496, allocations: 2.828 kB / 1.169 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.8498, allocations: 42.91 kB / 1.17 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.8498, allocations: 13.31 kB / 1.17 GB, free: 13.55 MB / 0.7448 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.0001365/0.85, allocations: 129.3 kB / 1.17 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.85, allocations: 4.656 kB / 1.17 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.85, allocations: 10.5 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.85, allocations: 4.656 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.85, allocations: 0 / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.85, allocations: 0.6094 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.8506, allocations: 410.4 kB / 1.17 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.8506, allocations: 0.7031 kB / 1.17 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.473e-05/0.8506, allocations: 7 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.8506, allocations: 0 / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.8507, allocations: 1.359 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.8507, allocations: 4.516 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8507, allocations: 4.875 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.851, allocations: 244.2 kB / 1.17 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.8511, allocations: 86.89 kB / 1.17 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.8511, allocations: 4.703 kB / 1.17 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.221e-05/0.8512, allocations: 6.719 kB / 1.17 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.8513, allocations: 10.34 kB / 1.17 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.8513, allocations: 1.75 kB / 1.17 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.322e-05/0.8514, allocations: 96.33 kB / 1.171 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8514, allocations: 0 / 1.171 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002643/0.8516, allocations: 33.36 kB / 1.171 GB, free: 12.5 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: 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.0001706/0.8518, allocations: 112.3 kB / 1.171 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.8522, allocations: 191.7 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8522, allocations: 3.938 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.8523, allocations: 45.77 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.8526, allocations: 19.58 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.853, allocations: 185.1 kB / 1.171 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.8533, allocations: 0.6915 MB / 1.172 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.906e-05/0.8534, allocations: 6.359 kB / 1.172 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.8534, allocations: 7.438 kB / 1.172 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.8534, allocations: 4 kB / 1.172 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of Templates: time 0.004633/0.858, allocations: 1.514 MB / 1.173 GB, free: 10.41 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)