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.001113/0.001113, allocations: 90.67 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.01142/0.01142, allocations: 172.8 kB / 16.26 MB, free: 6.676 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.927/1.927, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.854/1.854, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0006282/0.0006281, allocations: 14.69 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.34, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001201/0.3413, allocations: 410.3 kB / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.3432, allocations: 1.169 MB / 0.7894 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.3432, allocations: 3.938 kB / 0.7894 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.3433, allocations: 0 / 0.7894 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.3434, allocations: 11.92 kB / 0.7894 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006677/0.3441, allocations: 135.5 kB / 0.7896 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.3442, allocations: 115.8 kB / 0.7897 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3444, allocations: 11.92 kB / 0.7897 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3445, allocations: 39.91 kB / 0.7897 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3446, allocations: 51.86 kB / 0.7898 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.3447, allocations: 4 kB / 0.7898 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.149e-05/0.3447, allocations: 23.92 kB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.181e-05/0.3448, allocations: 7.984 kB / 0.7898 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.967e-05/0.3449, allocations: 73.53 kB / 0.7899 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.3451, allocations: 119.9 kB / 0.79 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3451, allocations: 0 / 0.79 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3451, allocations: 0 / 0.79 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3452, allocations: 0 / 0.79 GB, free: 9.391 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.0008404/0.346, allocations: 385.1 kB / 0.7904 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.3461, allocations: 8.031 kB / 0.7904 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.3461, allocations: 8.844 kB / 0.7904 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.3463, allocations: 172.3 kB / 0.7905 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.3464, allocations: 8.375 kB / 0.7905 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.3464, allocations: 4.375 kB / 0.7905 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.3466, allocations: 78.2 kB / 0.7906 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3467, allocations: 192 / 0.7906 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.3467, allocations: 3.938 kB / 0.7906 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3467, allocations: 0 / 0.7906 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.3469, allocations: 47.91 kB / 0.7907 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.3475, allocations: 316.9 kB / 0.791 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.3478, allocations: 74.55 kB / 0.791 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.3479, allocations: 40.83 kB / 0.7911 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.3479, allocations: 3.938 kB / 0.7911 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003142/0.3482, allocations: 107.3 kB / 0.7912 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3483, allocations: 0 / 0.7912 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005933/0.3489, allocations: 189.4 kB / 0.7914 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.3489, allocations: 59.39 kB / 0.7914 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.3491, allocations: 113.8 kB / 0.7915 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.3491, allocations: 33.7 kB / 0.7916 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.3492, allocations: 84.14 kB / 0.7916 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.3492, allocations: 31.62 kB / 0.7917 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.3493, allocations: 17.72 kB / 0.7917 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3494, allocations: 322.8 kB / 0.792 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.3496, allocations: 51.97 kB / 0.7921 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.3497, allocations: 78.48 kB / 0.7921 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.35, allocations: 124.2 kB / 0.7922 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.35, allocations: 4 kB / 0.7923 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004163/0.3504, allocations: 203.1 kB / 0.7924 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.277e-05/0.3505, allocations: 37.7 kB / 0.7925 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3505, allocations: 3.938 kB / 0.7925 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.3505, allocations: 4 kB / 0.7925 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3507, allocations: 11.98 kB / 0.7925 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.3507, allocations: 4 kB / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.3509, allocations: 46.83 kB / 0.7925 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.3509, allocations: 8 kB / 0.7926 GB, free: 6.492 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,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.0001171/0.3511, allocations: 124.2 kB / 0.7927 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.3511, allocations: 11.89 kB / 0.7927 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.3511, allocations: 12.38 kB / 0.7927 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3511, allocations: 0 / 0.7927 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3512, allocations: 4 kB / 0.7927 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3512, allocations: 0 / 0.7927 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.3517, allocations: 415.1 kB / 0.7931 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3517, allocations: 0 / 0.7931 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.3518, allocations: 11.98 kB / 0.7931 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3518, allocations: 4 kB / 0.7931 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3518, allocations: 96 / 0.7931 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3518, allocations: 3.938 kB / 0.7931 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3518, allocations: 0 / 0.7931 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.3522, allocations: 247.3 kB / 0.7934 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.3523, allocations: 85.09 kB / 0.7934 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.3523, allocations: 8 kB / 0.7934 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.2e-05/0.3524, allocations: 4 kB / 0.7934 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.3525, allocations: 7.984 kB / 0.7935 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.3525, allocations: 4 kB / 0.7935 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.198e-05/0.3525, allocations: 91.2 kB / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3525, allocations: 0 / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002576/0.3528, allocations: 28 kB / 0.7936 GB, free: 5.355 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 (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.0002149/0.353, allocations: 111.2 kB / 0.7937 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004381/0.3535, allocations: 191.2 kB / 0.7939 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3535, allocations: 0 / 0.7939 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.3536, allocations: 47.98 kB / 0.7939 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.354, allocations: 16.67 kB / 0.7939 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.3544, allocations: 199.3 kB / 0.7941 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3548, allocations: 0.6887 MB / 0.7948 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.994e-05/0.3548, allocations: 4.672 kB / 0.7948 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.3549, allocations: 15.38 kB / 0.7948 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.3549, allocations: 0 / 0.7948 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of Templates: time 0.004895/0.3598, allocations: 1.551 MB / 0.7963 GB, free: 2.484 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: