Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.819/1.819, allocations: 288.3 MB / 303.2 MB, free: 8.188 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.001124/0.001124, allocations: 177 kB / 371.8 MB, free: 10.27 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.034/2.034, allocations: 205.4 MB / 0.6306 GB, free: 9.973 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.001148/0.001148, allocations: 94.95 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004546, allocations: 17.27 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.249, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8071/1.056, allocations: 138.3 MB / 1.114 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/1.057, allocations: 67.72 kB / 1.115 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007865/1.064, allocations: 2.451 MB / 1.117 GB, free: 31.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.797e-06/1.064, allocations: 0 / 1.117 GB, free: 31.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.22e-05/1.065, allocations: 3.906 kB / 1.117 GB, free: 31.95 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.000647/1.065, allocations: 398.4 kB / 1.117 GB, free: 31.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.065, allocations: 15.41 kB / 1.117 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/1.065, allocations: 13.91 kB / 1.117 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/1.065, allocations: 166.8 kB / 1.117 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/1.065, allocations: 10.84 kB / 1.117 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/1.065, allocations: 3.969 kB / 1.118 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/1.066, allocations: 75.45 kB / 1.118 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.066, allocations: 0 / 1.118 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/1.066, allocations: 0 / 1.118 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.066, allocations: 4 kB / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/1.066, allocations: 41.91 kB / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/1.067, allocations: 336.2 kB / 1.118 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/1.067, allocations: 71.72 kB / 1.118 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/1.067, allocations: 0 / 1.118 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/1.067, allocations: 114 kB / 1.118 GB, free: 30.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/1.067, allocations: 0 / 1.118 GB, free: 30.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0005663/1.068, allocations: 182.4 kB / 1.118 GB, free: 30.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/1.068, allocations: 54.19 kB / 1.118 GB, free: 30.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/1.068, allocations: 110.5 kB / 1.118 GB, free: 30.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/1.068, allocations: 28.3 kB / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/1.068, allocations: 88.12 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/1.068, allocations: 20.3 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/1.068, allocations: 7.062 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.068, allocations: 318.5 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/1.068, allocations: 57.44 kB / 1.119 GB, free: 30.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/1.068, allocations: 74.61 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/1.069, allocations: 77.52 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.069, allocations: 0 / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004055/1.069, allocations: 202.3 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/1.069, allocations: 36.8 kB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.069, allocations: 3.938 kB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.069, allocations: 3.969 kB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/1.069, allocations: 14.53 kB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.069, allocations: 0 / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/1.069, allocations: 43.52 kB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/1.069, allocations: 6.469 kB / 1.119 GB, free: 30.12 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.0001229/1.07, allocations: 133.6 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/1.07, allocations: 7.75 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/1.07, allocations: 8.125 kB / 1.12 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.07, allocations: 7.906 kB / 1.12 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.07, allocations: 0 / 1.12 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.07, allocations: 0 / 1.12 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/1.07, allocations: 406.5 kB / 1.12 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/1.07, allocations: 0 / 1.12 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/1.07, allocations: 3.781 kB / 1.12 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/1.07, allocations: 6.578 kB / 1.12 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/1.07, allocations: 3.875 kB / 1.12 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.07, allocations: 0 / 1.12 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.07, allocations: 0 / 1.12 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/1.071, allocations: 247.2 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/1.071, allocations: 84.83 kB / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/1.071, allocations: 2.719 kB / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.382e-05/1.071, allocations: 14.62 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/1.071, allocations: 10.75 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/1.071, allocations: 0 / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.732e-05/1.071, allocations: 94.06 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.071, allocations: 0 / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002482/1.071, allocations: 31.12 kB / 1.12 GB, free: 29.35 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.0002097/1.071, allocations: 121.2 kB / 1.121 GB, free: 29.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003493/1.072, allocations: 188.3 kB / 1.121 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.072, allocations: 0 / 1.121 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/1.072, allocations: 52.06 kB / 1.121 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/1.072, allocations: 15.58 kB / 1.121 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/1.073, allocations: 186.5 kB / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/1.073, allocations: 0.69 MB / 1.122 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.535e-05/1.073, allocations: 7.484 kB / 1.122 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/1.073, allocations: 11.31 kB / 1.122 GB, free: 28.34 MB / 0.698 GB Notification: Performance of SimCode: time 1.943e-06/1.073, allocations: 0 / 1.122 GB, free: 28.34 MB / 0.698 GB Notification: Performance of Templates: time 0.003745/1.077, allocations: 1.497 MB / 1.123 GB, free: 28.2 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)