Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.659/2.659, allocations: 287.9 MB / 302.9 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 184.2 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 0.6301 GB, free: 10.33 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 96.36 kB / 0.7434 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004766, allocations: 13.12 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1573, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0007243/0.1581, allocations: 388.8 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1594, allocations: 1.143 MB / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.1595, allocations: 0 / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.1595, allocations: 0 / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.726e-05/0.1596, allocations: 15.91 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.1601, allocations: 113.9 kB / 0.9804 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.441e-05/0.1603, allocations: 71.78 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.709e-05/0.1603, allocations: 12 kB / 0.9805 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.769e-05/0.1604, allocations: 47.89 kB / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.279e-05/0.1605, allocations: 43.86 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.1606, allocations: 8 kB / 0.9806 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.471e-05/0.1606, allocations: 16 kB / 0.9806 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.1607, allocations: 7.984 kB / 0.9806 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.133e-05/0.1607, allocations: 41.62 kB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.1609, allocations: 84.03 kB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.904e-06/0.1609, allocations: 0 / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.91e-06/0.1609, allocations: 0 / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.846e-06/0.1609, allocations: 0 / 0.9807 GB, free: 26.18 MB / 0.6198 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.0004936/0.1614, allocations: 388.9 kB / 0.9811 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1615, allocations: 12.03 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.1615, allocations: 7.906 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.73e-05/0.1616, allocations: 167 kB / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.1617, allocations: 12 kB / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.1617, allocations: 7.984 kB / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.162, allocations: 73.64 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.733e-06/0.162, allocations: 3.938 kB / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.162, allocations: 4 kB / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.162, allocations: 4 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.1622, allocations: 39.97 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.1627, allocations: 320.7 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.163, allocations: 74.55 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.163, allocations: 0 / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002926/0.1633, allocations: 107.5 kB / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.44e-06/0.1633, allocations: 0 / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0006363/0.164, allocations: 197.4 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.164, allocations: 51.41 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.956e-05/0.1641, allocations: 117.8 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.1642, allocations: 33.7 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.1642, allocations: 84.31 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.1643, allocations: 23.66 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.1643, allocations: 8 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.1643, allocations: 318.8 kB / 0.9827 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.1645, allocations: 51.97 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.1649, allocations: 79.67 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.1652, allocations: 77.69 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.995e-06/0.1653, allocations: 0 / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008657/0.1662, allocations: 191.3 kB / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.1662, allocations: 37.7 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.899e-06/0.1663, allocations: 0 / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1663, allocations: 7.984 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.1665, allocations: 8 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1665, allocations: 8 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.167, allocations: 51.86 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.1671, allocations: 7.953 kB / 0.9832 GB, free: 23.4 MB / 0.6198 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.0001724/0.1673, allocations: 123.5 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.1673, allocations: 7.906 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.269e-05/0.1674, allocations: 12.38 kB / 0.9833 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.521e-06/0.1674, allocations: 3.984 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.341e-06/0.1674, allocations: 0 / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.737e-06/0.1675, allocations: 0 / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.1685, allocations: 411.2 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.357e-06/0.1686, allocations: 4 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/0.1687, allocations: 11.92 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.1687, allocations: 4 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.1688, allocations: 96 / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.307e-06/0.1688, allocations: 3.938 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1688, allocations: 0 / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007701/0.1696, allocations: 247.4 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.1697, allocations: 85 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.1697, allocations: 8 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.17, allocations: 4 kB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.17, allocations: 11.92 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.1701, allocations: 4 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.12e-05/0.1702, allocations: 91.27 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.116e-06/0.1702, allocations: 0 / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006704/0.1709, allocations: 31.95 kB / 0.9842 GB, free: 22.27 MB / 0.6198 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.0002101/0.1711, allocations: 108.1 kB / 0.9843 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006961/0.1718, allocations: 183.3 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.365e-06/0.1718, allocations: 0 / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.1721, allocations: 55.92 kB / 0.9845 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.1726, allocations: 16.91 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.1733, allocations: 179.3 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.1735, allocations: 0.6965 MB / 0.9854 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.512e-05/0.1735, allocations: 12.66 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.1736, allocations: 15.44 kB / 0.9854 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of SimCode: time 2.082e-06/0.1736, allocations: 3.938 kB / 0.9854 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of Templates: time 0.007197/0.1808, allocations: 1.483 MB / 0.9869 GB, free: 19.47 MB / 0.6198 GB