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.001814/0.001815, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001366/0.001366, allocations: 192.2 kB / 16.13 MB, free: 6.699 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.714/1.714, allocations: 205.1 MB / 222 MB, free: 4.758 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.857/1.857, allocations: 251.7 MB / 0.5088 GB, free: 3.289 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.001896/0.001896, allocations: 63.91 kB / 0.6216 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6725/0.6744, allocations: 104.7 MB / 0.7238 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.003561/0.6781, allocations: 1.443 MB / 0.7252 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005681/0.6787, allocations: 240.2 kB / 0.7255 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.6787, allocations: 3.938 kB / 0.7255 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.6788, allocations: 4 kB / 0.7255 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.408e-05/0.6789, allocations: 7.938 kB / 0.7255 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.6792, allocations: 35.94 kB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.6793, allocations: 67.78 kB / 0.7256 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.6795, allocations: 7.984 kB / 0.7256 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.217e-05/0.6796, allocations: 27.86 kB / 0.7256 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.6797, allocations: 31.89 kB / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.6797, allocations: 4 kB / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.985e-05/0.6797, allocations: 4 kB / 0.7256 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.6798, allocations: 27.84 kB / 0.7257 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.6799, allocations: 19.92 kB / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.68, allocations: 57.94 kB / 0.7257 GB, free: 11.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.68, allocations: 7.938 kB / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6801, allocations: 0 / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.6801, allocations: 0 / 0.7257 GB, free: 11.29 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.0008783/0.681, allocations: 367.3 kB / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/0.681, allocations: 8.031 kB / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.6811, allocations: 12.84 kB / 0.7261 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.6813, allocations: 176.3 kB / 0.7263 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.6814, allocations: 384 / 0.7263 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.6814, allocations: 12.36 kB / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.6816, allocations: 74.16 kB / 0.7264 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.6817, allocations: 192 / 0.7264 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.6817, allocations: 3.938 kB / 0.7264 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.6817, allocations: 0 / 0.7264 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.6819, allocations: 47.95 kB / 0.7264 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.6825, allocations: 284.8 kB / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.6827, allocations: 70.44 kB / 0.7268 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.6829, allocations: 40.95 kB / 0.7268 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.6829, allocations: 0 / 0.7268 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.6833, allocations: 99.36 kB / 0.7269 GB, free: 9.953 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.6833, allocations: 0 / 0.7269 GB, free: 9.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0005937/0.6839, allocations: 173.5 kB / 0.7271 GB, free: 9.777 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.6839, allocations: 51.41 kB / 0.7271 GB, free: 9.715 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.6841, allocations: 117.9 kB / 0.7272 GB, free: 9.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.6841, allocations: 33.7 kB / 0.7273 GB, free: 9.551 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.233e-05/0.6842, allocations: 80.14 kB / 0.7273 GB, free: 9.469 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.6843, allocations: 24.11 kB / 0.7274 GB, free: 9.445 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.6843, allocations: 33.72 kB / 0.7274 GB, free: 9.406 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.6845, allocations: 318.8 kB / 0.7277 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.681e-05/0.6846, allocations: 23.98 kB / 0.7277 GB, free: 9.062 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.6848, allocations: 49.58 kB / 0.7278 GB, free: 9.008 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.6849, allocations: 61.69 kB / 0.7278 GB, free: 8.941 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.685, allocations: 7.938 kB / 0.7278 GB, free: 8.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000246/0.6852, allocations: 109.5 kB / 0.7279 GB, free: 8.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6852, allocations: 4 kB / 0.7279 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.6853, allocations: 4.312 kB / 0.7279 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6853, allocations: 0 / 0.7279 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.6854, allocations: 11.98 kB / 0.7279 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.6854, allocations: 4 kB / 0.728 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.6855, allocations: 15.83 kB / 0.728 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.6856, allocations: 12.02 kB / 0.728 GB, free: 8.77 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,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,$whenCondition2,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.6857, allocations: 121.8 kB / 0.7281 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.6857, allocations: 4 kB / 0.7281 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.6858, allocations: 12.36 kB / 0.7281 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.6858, allocations: 0 / 0.7281 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.6858, allocations: 0 / 0.7281 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6858, allocations: 3.938 kB / 0.7281 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007261/0.6866, allocations: 426.3 kB / 0.7285 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6866, allocations: 0 / 0.7285 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.6866, allocations: 8 kB / 0.7285 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6866, allocations: 192 / 0.7285 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.6866, allocations: 4 kB / 0.7285 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.6866, allocations: 3.938 kB / 0.7285 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6867, allocations: 0 / 0.7285 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.687, allocations: 231.4 kB / 0.7288 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.6871, allocations: 89.02 kB / 0.7288 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.6871, allocations: 3.984 kB / 0.7288 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.6873, allocations: 7.984 kB / 0.7289 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.6873, allocations: 4 kB / 0.7289 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.6873, allocations: 11.98 kB / 0.7289 GB, free: 7.758 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.711e-05/0.6874, allocations: 91.22 kB / 0.729 GB, free: 7.668 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6874, allocations: 0 / 0.729 GB, free: 7.668 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002341/0.6877, allocations: 12 kB / 0.729 GB, free: 7.656 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 (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.0001714/0.6878, allocations: 115.2 kB / 0.7291 GB, free: 7.535 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.6881, allocations: 75.91 kB / 0.7291 GB, free: 7.461 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6881, allocations: 0 / 0.7291 GB, free: 7.461 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.6882, allocations: 51.91 kB / 0.7292 GB, free: 7.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.6886, allocations: 11.98 kB / 0.7292 GB, free: 7.398 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.6891, allocations: 194.9 kB / 0.7294 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.6894, allocations: 0.6848 MB / 0.7301 GB, free: 6.473 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.082e-05/0.6895, allocations: 8.656 kB / 0.7301 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.6895, allocations: 11.44 kB / 0.7301 GB, free: 6.453 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.6895, allocations: 4.469 kB / 0.7301 GB, free: 6.449 MB / 0.545 GB Notification: Performance of Templates: time 0.004067/0.6936, allocations: 1.058 MB / 0.7311 GB, free: 5.402 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (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)