Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001046/0.001046, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001182/0.001182, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.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.0005024/0.0005026, allocations: 11.88 kB / 0.6735 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2651, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0009049/0.2661, allocations: 388.8 kB / 0.7875 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.2675, allocations: 1.14 MB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.2676, allocations: 0 / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.2676, allocations: 3.938 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.919e-05/0.2677, allocations: 7.984 kB / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.2682, allocations: 123.4 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.2683, allocations: 63.92 kB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.2684, allocations: 7.984 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2685, allocations: 51.89 kB / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.942e-05/0.2686, allocations: 43.86 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.2687, allocations: 8 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.985e-05/0.2687, allocations: 19.98 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.2688, allocations: 11.92 kB / 0.7889 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.2688, allocations: 33.7 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.269, allocations: 92.02 kB / 0.7891 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.269, allocations: 0 / 0.7891 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.432e-06/0.269, allocations: 4 kB / 0.7891 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.269, allocations: 0 / 0.7891 GB, free: 9.969 MB / 0.6075 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.0005859/0.2696, allocations: 376.9 kB / 0.7894 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2696, allocations: 12.03 kB / 0.7894 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.2697, allocations: 7.906 kB / 0.7894 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.2699, allocations: 178.9 kB / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.2699, allocations: 8 kB / 0.7896 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.2699, allocations: 4 kB / 0.7896 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.2701, allocations: 73.64 kB / 0.7897 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2702, allocations: 0 / 0.7897 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.2702, allocations: 4 kB / 0.7897 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2702, allocations: 4 kB / 0.7897 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.2704, allocations: 39.97 kB / 0.7897 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.2709, allocations: 324.7 kB / 0.7901 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.2711, allocations: 74.48 kB / 0.7901 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.2711, allocations: 3.984 kB / 0.7901 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.2714, allocations: 107.5 kB / 0.7902 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.512e-06/0.2714, allocations: 4 kB / 0.7902 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004908/0.2719, allocations: 185.5 kB / 0.7904 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.272, allocations: 55.34 kB / 0.7905 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.2721, allocations: 118.5 kB / 0.7906 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.2721, allocations: 33.7 kB / 0.7906 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.2722, allocations: 84.33 kB / 0.7907 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.2722, allocations: 23.66 kB / 0.7907 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.2722, allocations: 8 kB / 0.7907 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2723, allocations: 318.8 kB / 0.791 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2725, allocations: 51.97 kB / 0.7911 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.2726, allocations: 74.58 kB / 0.7911 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.2728, allocations: 81.62 kB / 0.7912 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2728, allocations: 3.984 kB / 0.7912 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003769/0.2732, allocations: 187.3 kB / 0.7914 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.2732, allocations: 41.69 kB / 0.7914 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2733, allocations: 0 / 0.7914 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.2733, allocations: 4 kB / 0.7914 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.2734, allocations: 19.98 kB / 0.7915 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2734, allocations: 3.984 kB / 0.7915 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.2736, allocations: 43.88 kB / 0.7915 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.2736, allocations: 8 kB / 0.7915 GB, free: 7.199 MB / 0.6075 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.0001084/0.2737, allocations: 129.8 kB / 0.7916 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.2738, allocations: 7.906 kB / 0.7917 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.2738, allocations: 8.375 kB / 0.7917 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2738, allocations: 0 / 0.7917 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2738, allocations: 0 / 0.7917 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2738, allocations: 0 / 0.7917 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/0.2743, allocations: 422.3 kB / 0.7921 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2743, allocations: 0 / 0.7921 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/0.2744, allocations: 7.938 kB / 0.7921 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2744, allocations: 4 kB / 0.7921 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2744, allocations: 3.984 kB / 0.7921 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2744, allocations: 0 / 0.7921 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2744, allocations: 0 / 0.7921 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.2748, allocations: 247.4 kB / 0.7923 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.2749, allocations: 85 kB / 0.7924 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.2749, allocations: 8 kB / 0.7924 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.275, allocations: 3.984 kB / 0.7924 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.2751, allocations: 4.281 kB / 0.7924 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.2751, allocations: 7.984 kB / 0.7924 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.2751, allocations: 91.22 kB / 0.7925 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2751, allocations: 0 / 0.7925 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002453/0.2754, allocations: 39.98 kB / 0.7925 GB, free: 6.051 MB / 0.6075 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.0001622/0.2756, allocations: 102 kB / 0.7926 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000357/0.2759, allocations: 183.3 kB / 0.7928 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2759, allocations: 3.938 kB / 0.7928 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.2761, allocations: 56.09 kB / 0.7929 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.2763, allocations: 20 kB / 0.7929 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.2767, allocations: 182.1 kB / 0.7931 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.277, allocations: 0.6926 MB / 0.7937 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.896e-05/0.277, allocations: 8.672 kB / 0.7937 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.2771, allocations: 11.44 kB / 0.7938 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2771, allocations: 3.938 kB / 0.7938 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of Templates: time 0.004775/0.2818, allocations: 1.492 MB / 0.7952 GB, free: 3.254 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) Environment - environmentSimulation: