Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.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.7.0.x_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.001358/0.001358, allocations: 101.4 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.001777/0.001777, allocations: 177.3 kB / 15.94 MB, free: 220 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.85/1.85, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.685/1.685, allocations: 251.9 MB / 0.51 GB, free: 4.844 MB / 414.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.0005253/0.0005253, allocations: 16 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6498/0.6504, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002184/0.6526, allocations: 1.084 MB / 0.729 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006856/0.6534, allocations: 236.3 kB / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.6534, allocations: 4 kB / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.6535, allocations: 3.938 kB / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.6536, allocations: 15.95 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.6539, allocations: 15.98 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.654, allocations: 47.88 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.6542, allocations: 3.984 kB / 0.7294 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.6543, allocations: 31.92 kB / 0.7294 GB, free: 10 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.6544, allocations: 31.88 kB / 0.7294 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.6544, allocations: 7.938 kB / 0.7294 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.913e-05/0.6545, allocations: 4 kB / 0.7294 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.6545, allocations: 11.98 kB / 0.7294 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.111e-05/0.6546, allocations: 37.64 kB / 0.7295 GB, free: 9.906 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.6547, allocations: 41.88 kB / 0.7295 GB, free: 9.867 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.6547, allocations: 0 / 0.7295 GB, free: 9.867 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.507e-06/0.6547, allocations: 0 / 0.7295 GB, free: 9.867 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.6548, allocations: 0 / 0.7295 GB, free: 9.867 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008582/0.6556, allocations: 367.1 kB / 0.7299 GB, free: 9.461 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.6557, allocations: 8.031 kB / 0.7299 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.6557, allocations: 7.984 kB / 0.7299 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.656, allocations: 174.9 kB / 0.73 GB, free: 9.234 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.656, allocations: 11.98 kB / 0.7301 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.656, allocations: 4 kB / 0.7301 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.6563, allocations: 81.62 kB / 0.7301 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.6563, allocations: 0 / 0.7301 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.6563, allocations: 0 / 0.7301 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.6564, allocations: 4 kB / 0.7301 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.6565, allocations: 47.91 kB / 0.7302 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.6572, allocations: 280.8 kB / 0.7305 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.6574, allocations: 70.55 kB / 0.7305 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.6574, allocations: 4 kB / 0.7305 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/0.6577, allocations: 107.3 kB / 0.7306 GB, free: 8.559 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.6578, allocations: 0 / 0.7306 GB, free: 8.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0005317/0.6583, allocations: 177.5 kB / 0.7308 GB, free: 8.379 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.6584, allocations: 51.41 kB / 0.7308 GB, free: 8.316 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.6585, allocations: 113.8 kB / 0.731 GB, free: 8.195 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.6585, allocations: 33.7 kB / 0.731 GB, free: 8.156 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.6586, allocations: 88.08 kB / 0.7311 GB, free: 8.066 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.6586, allocations: 23.78 kB / 0.7311 GB, free: 8.043 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.6587, allocations: 4 kB / 0.7311 GB, free: 8.039 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.6588, allocations: 318.8 kB / 0.7314 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.151e-05/0.6589, allocations: 27.98 kB / 0.7314 GB, free: 7.691 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.659, allocations: 45.64 kB / 0.7315 GB, free: 7.641 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.209e-05/0.6591, allocations: 31.92 kB / 0.7315 GB, free: 7.609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6591, allocations: 4 kB / 0.7315 GB, free: 7.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002362/0.6594, allocations: 105.5 kB / 0.7316 GB, free: 7.496 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.6594, allocations: 8 kB / 0.7316 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.6594, allocations: 480 / 0.7316 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.6594, allocations: 0 / 0.7316 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.6596, allocations: 15.98 kB / 0.7316 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6596, allocations: 0 / 0.7316 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/0.6597, allocations: 23.95 kB / 0.7317 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.6597, allocations: 11.89 kB / 0.7317 GB, free: 7.438 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,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): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001343/0.6598, allocations: 120.4 kB / 0.7318 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.6598, allocations: 7.906 kB / 0.7318 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.6599, allocations: 8.375 kB / 0.7318 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.6599, allocations: 7.984 kB / 0.7318 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6599, allocations: 0 / 0.7318 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6599, allocations: 0 / 0.7318 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008035/0.6607, allocations: 426.4 kB / 0.7322 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6607, allocations: 0 / 0.7322 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.6608, allocations: 8 kB / 0.7322 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6608, allocations: 0 / 0.7322 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.6608, allocations: 0 / 0.7322 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6608, allocations: 4 kB / 0.7322 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6608, allocations: 0 / 0.7322 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.6612, allocations: 235.3 kB / 0.7324 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.6612, allocations: 81.11 kB / 0.7325 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.6613, allocations: 7.984 kB / 0.7325 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.6614, allocations: 15.98 kB / 0.7325 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.6615, allocations: 4 kB / 0.7325 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.6615, allocations: 7.984 kB / 0.7326 GB, free: 6.426 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.6615, allocations: 91.23 kB / 0.7326 GB, free: 6.336 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6615, allocations: 0 / 0.7326 GB, free: 6.336 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002403/0.6618, allocations: 16 kB / 0.7327 GB, free: 6.32 MB / 0.545 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 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,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.0001761/0.662, allocations: 115.1 kB / 0.7328 GB, free: 6.199 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.6622, allocations: 88.03 kB / 0.7329 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6623, allocations: 0 / 0.7329 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.6624, allocations: 55.95 kB / 0.7329 GB, free: 6.059 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.6626, allocations: 11.98 kB / 0.7329 GB, free: 6.047 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.663, allocations: 194.4 kB / 0.7331 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.6633, allocations: 0.6887 MB / 0.7338 GB, free: 5.113 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.6634, allocations: 4.672 kB / 0.7338 GB, free: 5.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.6634, allocations: 11.44 kB / 0.7338 GB, free: 5.098 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6634, allocations: 0 / 0.7338 GB, free: 5.098 MB / 0.545 GB Notification: Performance of Templates: time 0.003689/0.6671, allocations: 1 MB / 0.7348 GB, free: 4.113 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) Environment - environmentSimulation: