Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.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.009797/0.009797, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001793/0.001793, allocations: 196 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.1 MB / 222.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.44/1.44, allocations: 251.7 MB / 0.5094 GB, free: 448 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 68.28 kB / 0.7258 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8576/0.8594, allocations: 104.7 MB / 0.8281 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002627/0.8621, allocations: 1.358 MB / 0.8294 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.000587/0.8627, allocations: 266.2 kB / 0.8296 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.779e-05/0.8627, allocations: 0 / 0.8296 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.578e-05/0.8628, allocations: 3.938 kB / 0.8296 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.58e-05/0.8629, allocations: 11.88 kB / 0.8297 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.8631, allocations: 39.88 kB / 0.8297 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.8633, allocations: 63.84 kB / 0.8298 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.8634, allocations: 7.984 kB / 0.8298 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 7.952e-05/0.8635, allocations: 35.92 kB / 0.8298 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 9.129e-05/0.8636, allocations: 31.89 kB / 0.8298 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.8636, allocations: 8 kB / 0.8298 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.8636, allocations: 4 kB / 0.8298 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.8637, allocations: 23.91 kB / 0.8299 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.8637, allocations: 27.86 kB / 0.8299 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.8638, allocations: 67.28 kB / 0.83 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8639, allocations: 3.938 kB / 0.83 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8639, allocations: 0 / 0.83 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.8639, allocations: 0 / 0.83 GB, free: 0.6445 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000697/0.8646, allocations: 365.7 kB / 0.8303 GB, free: 244 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.8646, allocations: 8.031 kB / 0.8303 GB, free: 236 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.8647, allocations: 8.844 kB / 0.8303 GB, free: 228 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.8648, allocations: 176.2 kB / 0.8305 GB, free: 12 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.8649, allocations: 4.375 kB / 0.8305 GB, free: 8 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.8649, allocations: 4.375 kB / 0.8305 GB, free: 4 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.8651, allocations: 78.19 kB / 0.8306 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.8652, allocations: 192 / 0.8306 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.8652, allocations: 3.938 kB / 0.8306 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.8652, allocations: 8 kB / 0.8306 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.8654, allocations: 47.89 kB / 0.8306 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.8659, allocations: 276.9 kB / 0.8309 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.8661, allocations: 66.5 kB / 0.831 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.8663, allocations: 40.95 kB / 0.831 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.138e-06/0.8663, allocations: 4 kB / 0.831 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.8666, allocations: 95.3 kB / 0.8311 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.8666, allocations: 0 / 0.8311 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.0005393/0.8672, allocations: 177.5 kB / 0.8313 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.8672, allocations: 55.41 kB / 0.8313 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.8673, allocations: 121.8 kB / 0.8314 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.8673, allocations: 29.7 kB / 0.8315 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.8674, allocations: 84.14 kB / 0.8315 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.8674, allocations: 23.7 kB / 0.8316 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.8675, allocations: 25.72 kB / 0.8316 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8676, allocations: 319.2 kB / 0.8319 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.745e-05/0.8677, allocations: 23.98 kB / 0.8319 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.8678, allocations: 41.64 kB / 0.832 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.868, allocations: 81.56 kB / 0.832 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.868, allocations: 3.938 kB / 0.832 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002356/0.8683, allocations: 93.61 kB / 0.8321 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.8683, allocations: 8 kB / 0.8321 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.8683, allocations: 0 / 0.8321 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.8683, allocations: 0 / 0.8321 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.8684, allocations: 16.02 kB / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.8685, allocations: 7.938 kB / 0.8322 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.8685, allocations: 19.83 kB / 0.8322 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.8686, allocations: 4 kB / 0.8322 GB, free: 14.13 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001108/0.8687, allocations: 125.7 kB / 0.8323 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.8687, allocations: 4 kB / 0.8323 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.8687, allocations: 12.36 kB / 0.8323 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.8687, allocations: 0 / 0.8323 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.8688, allocations: 8 kB / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8688, allocations: 4 kB / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006725/0.8694, allocations: 418.3 kB / 0.8327 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.8695, allocations: 4 kB / 0.8327 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.8695, allocations: 0 / 0.8327 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/0.8695, allocations: 4 kB / 0.8327 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.8695, allocations: 0 / 0.8327 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.8695, allocations: 4.125 kB / 0.8327 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8696, allocations: 3.938 kB / 0.8327 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.8699, allocations: 235.4 kB / 0.833 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.87, allocations: 81.02 kB / 0.833 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.87, allocations: 7.984 kB / 0.833 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.8701, allocations: 11.98 kB / 0.8331 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.8702, allocations: 7.938 kB / 0.8331 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.8702, allocations: 7.984 kB / 0.8331 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.81e-05/0.8703, allocations: 91.22 kB / 0.8332 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.8703, allocations: 0 / 0.8332 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002329/0.8705, allocations: 20 kB / 0.8332 GB, free: 13.01 MB / 0.6387 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 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,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.0001456/0.8707, allocations: 103.2 kB / 0.8333 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.871, allocations: 75.91 kB / 0.8333 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.871, allocations: 0 / 0.8333 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.8711, allocations: 51.91 kB / 0.8334 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.8714, allocations: 20.05 kB / 0.8334 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.8719, allocations: 177.9 kB / 0.8336 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.8723, allocations: 0.6844 MB / 0.8343 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.8723, allocations: 5.141 kB / 0.8343 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.8723, allocations: 11.44 kB / 0.8343 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.8723, allocations: 4 kB / 0.8343 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of Templates: time 0.004015/0.8764, allocations: 1.193 MB / 0.8354 GB, free: 10.64 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)