Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00804/0.00804, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.799/2.799, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003703, allocations: 9.406 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3501, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001005/0.3511, allocations: 407.9 kB / 1.075 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.3532, allocations: 1.182 MB / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.3532, allocations: 0 / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.3533, allocations: 7.875 kB / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.602e-05/0.3534, allocations: 11.92 kB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.3538, allocations: 133.6 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.354, allocations: 107.8 kB / 1.076 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3541, allocations: 23.89 kB / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.978e-05/0.3542, allocations: 43.91 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.3543, allocations: 39.88 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.3544, allocations: 8 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.48e-05/0.3544, allocations: 23.97 kB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.3545, allocations: 19.92 kB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.3547, allocations: 57.61 kB / 1.076 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.3549, allocations: 119.6 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3549, allocations: 0 / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3549, allocations: 0 / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3549, allocations: 0 / 1.076 GB, free: 5.34 MB / 0.8262 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.0007008/0.3556, allocations: 377.4 kB / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3556, allocations: 12.03 kB / 1.077 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.3557, allocations: 12.84 kB / 1.077 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.356, allocations: 176.2 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.356, allocations: 384 / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.356, allocations: 12.38 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.3563, allocations: 74.2 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.3563, allocations: 192 / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.3563, allocations: 7.938 kB / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3563, allocations: 4 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.3565, allocations: 43.97 kB / 1.077 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.3571, allocations: 324.7 kB / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.3573, allocations: 74.48 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.3574, allocations: 32.91 kB / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.3575, allocations: 8 kB / 1.077 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.3577, allocations: 107.3 kB / 1.077 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3577, allocations: 0 / 1.077 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005221/0.3583, allocations: 197.4 kB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.3583, allocations: 51.41 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.209e-05/0.3584, allocations: 113.8 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.3585, allocations: 29.7 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/0.3585, allocations: 84.14 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.3586, allocations: 35.56 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.3586, allocations: 21.72 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3588, allocations: 314.8 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.359, allocations: 59.97 kB / 1.078 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.3592, allocations: 70.55 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.3595, allocations: 136.2 kB / 1.079 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3595, allocations: 0 / 1.079 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004937/0.36, allocations: 195.3 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.36, allocations: 37.69 kB / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.3601, allocations: 0 / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.3601, allocations: 0 / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3602, allocations: 15.94 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3602, allocations: 64 / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.3605, allocations: 53.27 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.3605, allocations: 8 kB / 1.079 GB, free: 2.438 MB / 0.8262 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,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.646e-05/0.3606, allocations: 122.5 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.3606, allocations: 15.84 kB / 1.079 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.3607, allocations: 8.375 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3607, allocations: 4 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3607, allocations: 0 / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3607, allocations: 0 / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.3613, allocations: 407.2 kB / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3613, allocations: 0 / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.3614, allocations: 8 kB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.3614, allocations: 7.922 kB / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3614, allocations: 8.094 kB / 1.079 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3614, allocations: 3.938 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3614, allocations: 0 / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.3618, allocations: 247.3 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.3618, allocations: 89.05 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.3619, allocations: 0 / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.362, allocations: 7.984 kB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.362, allocations: 4 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.362, allocations: 15.98 kB / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.434e-05/0.3621, allocations: 91.22 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3621, allocations: 0 / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002532/0.3623, allocations: 24 kB / 1.08 GB, free: 1.297 MB / 0.8262 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 (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.0002089/0.3626, allocations: 115.2 kB / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.3629, allocations: 179.3 kB / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.363, allocations: 0 / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.3631, allocations: 59.91 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.3634, allocations: 19.73 kB / 1.08 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.3639, allocations: 191.1 kB / 1.08 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.3644, allocations: 0.6809 MB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.22e-05/0.3645, allocations: 8.656 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.3645, allocations: 19.38 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3645, allocations: 0 / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.00451/0.369, allocations: 1.555 MB / 1.083 GB, free: 14.43 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)