Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.613/2.613, allocations: 287.5 MB / 303.2 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 183.1 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.4 MB / 0.6305 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009527/0.0009525, allocations: 94.92 kB / 0.7438 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006551/0.0006551, allocations: 12.98 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2252, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9426/1.168, allocations: 138.1 MB / 1.114 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/1.168, allocations: 78.16 kB / 1.114 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01206/1.18, allocations: 2.467 MB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.116e-06/1.18, allocations: 3.844 kB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.735e-06/1.18, allocations: 0 / 1.117 GB, free: 31.36 MB / 0.698 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.0006934/1.181, allocations: 397.1 kB / 1.117 GB, free: 30.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.181, allocations: 7.844 kB / 1.117 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/1.181, allocations: 8.688 kB / 1.117 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/1.181, allocations: 172.4 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/1.181, allocations: 15.42 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/1.182, allocations: 4.219 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/1.182, allocations: 77.22 kB / 1.117 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.182, allocations: 192 / 1.117 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/1.182, allocations: 3.938 kB / 1.117 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/1.182, allocations: 0 / 1.117 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/1.182, allocations: 41.69 kB / 1.117 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/1.183, allocations: 332 kB / 1.118 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/1.183, allocations: 73.62 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/1.183, allocations: 37.08 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/1.183, allocations: 2.812 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003756/1.184, allocations: 111.7 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.555e-06/1.184, allocations: 3.938 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0008314/1.185, allocations: 182.5 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/1.185, allocations: 55.34 kB / 1.118 GB, free: 30.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/1.185, allocations: 116.3 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/1.185, allocations: 33.08 kB / 1.118 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/1.185, allocations: 86.52 kB / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/1.185, allocations: 22.75 kB / 1.118 GB, free: 30.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/1.185, allocations: 3.844 kB / 1.118 GB, free: 30.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.185, allocations: 317.9 kB / 1.119 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/1.185, allocations: 50.61 kB / 1.119 GB, free: 29.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/1.186, allocations: 72.34 kB / 1.119 GB, free: 29.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/1.186, allocations: 135.9 kB / 1.119 GB, free: 29.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.186, allocations: 0 / 1.119 GB, free: 29.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006497/1.187, allocations: 203.2 kB / 1.119 GB, free: 29.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/1.187, allocations: 29.58 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.187, allocations: 3.844 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.187, allocations: 0 / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/1.187, allocations: 14.83 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/1.187, allocations: 0 / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/1.187, allocations: 51.16 kB / 1.119 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/1.187, allocations: 15 kB / 1.119 GB, free: 29.48 MB / 0.698 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.0001505/1.188, allocations: 130.4 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/1.188, allocations: 3.094 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/1.188, allocations: 11.59 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.188, allocations: 4 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.188, allocations: 0 / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.188, allocations: 0 / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007682/1.188, allocations: 412.4 kB / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/1.189, allocations: 0 / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/1.189, allocations: 6.734 kB / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/1.189, allocations: 7.844 kB / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/1.189, allocations: 0 / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/1.189, allocations: 0 / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.189, allocations: 0 / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/1.189, allocations: 242.9 kB / 1.12 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/1.189, allocations: 84.86 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/1.189, allocations: 0 / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/1.19, allocations: 14.44 kB / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/1.19, allocations: 11.3 kB / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/1.19, allocations: 7.812 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.89e-05/1.19, allocations: 97.58 kB / 1.12 GB, free: 28.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.19, allocations: 0 / 1.12 GB, free: 28.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003951/1.19, allocations: 29.84 kB / 1.12 GB, free: 28.72 MB / 0.698 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.0002108/1.19, allocations: 114 kB / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005943/1.191, allocations: 187.3 kB / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.191, allocations: 0 / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/1.191, allocations: 54.22 kB / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/1.192, allocations: 18.22 kB / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/1.192, allocations: 181.4 kB / 1.121 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/1.192, allocations: 0.6853 MB / 1.121 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.07e-05/1.192, allocations: 5.578 kB / 1.121 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/1.193, allocations: 11.34 kB / 1.121 GB, free: 27.71 MB / 0.698 GB Notification: Performance of SimCode: time 1.483e-06/1.193, allocations: 0 / 1.121 GB, free: 27.71 MB / 0.698 GB Notification: Performance of Templates: time 0.005975/1.199, allocations: 1.515 MB / 1.123 GB, free: 27.58 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)