Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0008341/0.0008342, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006233/0.006233, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.369/1.369, 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.735/2.735, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003583, allocations: 9.031 kB / 0.9158 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3365, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001058/0.3376, allocations: 423.8 kB / 1.075 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.3392, allocations: 1.174 MB / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.3393, allocations: 0 / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.3393, allocations: 7.938 kB / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.239e-05/0.3394, allocations: 3.938 kB / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.3399, allocations: 135.2 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.34, allocations: 119.8 kB / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.776e-05/0.3401, allocations: 0 / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.557e-05/0.3402, allocations: 47.89 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.792e-05/0.3403, allocations: 43.88 kB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.3404, allocations: 12 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-05/0.3404, allocations: 19.92 kB / 1.076 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.3405, allocations: 15.92 kB / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.458e-05/0.3406, allocations: 69.58 kB / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.3407, allocations: 111.6 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3408, allocations: 0 / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.986e-06/0.3408, allocations: 4 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.3408, 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.0005892/0.3414, allocations: 373.4 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3414, allocations: 16.03 kB / 1.077 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.3415, allocations: 8.844 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.3416, allocations: 172.3 kB / 1.077 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.3416, allocations: 4.375 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.3417, allocations: 8.359 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.3419, allocations: 74.16 kB / 1.077 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3419, allocations: 4.188 kB / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.3419, allocations: 7.922 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.342, allocations: 0 / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.3421, allocations: 47.97 kB / 1.077 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.3427, allocations: 316.8 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.343, allocations: 70.48 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.3431, allocations: 48.84 kB / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.3431, allocations: 0 / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.3434, allocations: 111.3 kB / 1.077 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.3434, allocations: 0 / 1.077 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005508/0.344, allocations: 189.5 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.344, allocations: 51.41 kB / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.702e-05/0.3441, allocations: 113.8 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.3441, allocations: 33.7 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.3442, allocations: 92.11 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.3443, allocations: 23.59 kB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.3443, allocations: 25.7 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3444, allocations: 318.8 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.3446, allocations: 55.91 kB / 1.078 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.3448, allocations: 78.53 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.345, allocations: 124.2 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.345, allocations: 0 / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004162/0.3455, allocations: 195.2 kB / 1.079 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.3455, allocations: 41.69 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3455, allocations: 0 / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3455, allocations: 0 / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3457, allocations: 20.05 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3457, allocations: 0 / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.346, allocations: 40.72 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.346, allocations: 11.98 kB / 1.079 GB, free: 2.449 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 0.0001299/0.3462, allocations: 134.5 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.3462, allocations: 7.844 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.3462, allocations: 8.375 kB / 1.079 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3462, allocations: 3.984 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3462, allocations: 3.984 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3462, allocations: 0 / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.3468, allocations: 418.3 kB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3468, allocations: 0 / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.3468, allocations: 4 kB / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3468, allocations: 4 kB / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.3469, allocations: 3.984 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3469, allocations: 0 / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3469, allocations: 0 / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.3473, allocations: 251.3 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.3473, allocations: 81.05 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.3474, allocations: 4 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.602e-05/0.3475, allocations: 7.984 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.3475, allocations: 7.984 kB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.3475, allocations: 4 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.101e-05/0.3476, allocations: 95.2 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3476, allocations: 0 / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002763/0.3479, allocations: 28 kB / 1.08 GB, free: 1.305 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.0001633/0.348, allocations: 107.2 kB / 1.08 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.3484, allocations: 179.8 kB / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3484, allocations: 4 kB / 1.08 GB, free: 1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.3486, allocations: 56.09 kB / 1.08 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.3489, allocations: 21.42 kB / 1.08 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.3493, allocations: 191.1 kB / 1.08 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.3498, allocations: 0.6887 MB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.325e-05/0.3498, allocations: 8.672 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.3498, allocations: 11.44 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3498, allocations: 0 / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.004517/0.3544, allocations: 1.567 MB / 1.083 GB, free: 14.43 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)