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.TrueHoldWithReset.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.TrueHoldWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.707/1.707, allocations: 288.4 MB / 304.3 MB, free: 8.117 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.0009934/0.0009934, allocations: 178.9 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 0.6316 GB, free: 9.875 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.0008634/0.0008633, allocations: 95.55 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006569/0.0006569, allocations: 17.62 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3457, allocations: 115.3 MB / 0.9808 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset): time 0.003976/0.3497, allocations: 2.48 MB / 0.9832 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003829/0.3536, allocations: 1.716 MB / 0.9848 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004305/0.3541, allocations: 23.88 kB / 0.9849 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.3544, allocations: 83.14 kB / 0.985 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.3547, allocations: 75.34 kB / 0.985 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.3575, allocations: 0.722 MB / 0.9857 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001843/0.3594, allocations: 1.376 MB / 0.9871 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.3607, allocations: 0.7486 MB / 0.9878 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005981/0.3613, allocations: 414.6 kB / 0.9882 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005411/0.3619, allocations: 414.1 kB / 0.9886 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.3621, allocations: 56 kB / 0.9886 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.3624, allocations: 79.97 kB / 0.9887 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.3626, allocations: 187.3 kB / 0.9889 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005632/0.3632, allocations: 491.5 kB / 0.9894 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.3645, allocations: 1.231 MB / 0.9906 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.3645, allocations: 0 / 0.9906 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.04e-06/0.3646, allocations: 3.984 kB / 0.9906 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.962e-05/0.3646, allocations: 0 / 0.9906 GB, free: 17.21 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002201/0.3668, allocations: 1.096 MB / 0.9916 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.3669, allocations: 12.03 kB / 0.9917 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.3672, allocations: 119.7 kB / 0.9918 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008841/0.368, allocations: 0.5688 MB / 0.9923 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.3682, allocations: 107 kB / 0.9924 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.3684, allocations: 136.4 kB / 0.9926 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.3708, allocations: 1.19 MB / 0.9937 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.3708, allocations: 7.875 kB / 0.9937 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.3709, allocations: 47.97 kB / 0.9938 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/0.371, allocations: 28 kB / 0.9938 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.3729, allocations: 0.717 MB / 0.9945 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006533/0.3794, allocations: 5.137 MB / 0.9995 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.3811, allocations: 0.6367 MB / 1 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008549/0.382, allocations: 347.2 kB / 1 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.627e-05/0.3821, allocations: 11.98 kB / 1 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001509/0.3836, allocations: 0.5585 MB / 1.001 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=92): time 6.302e-06/0.3837, allocations: 0 / 1.001 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92): time 0.003225/0.3869, allocations: 1.064 MB / 1.002 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.387, allocations: 148.5 kB / 1.002 GB, free: 4.773 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008204/0.3878, allocations: 480.5 kB / 1.003 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002119/0.3881, allocations: 89.62 kB / 1.003 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/0.3885, allocations: 404 kB / 1.003 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.3887, allocations: 221.3 kB / 1.003 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.3889, allocations: 36 kB / 1.003 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.389, allocations: 386.7 kB / 1.004 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.3901, allocations: 375.8 kB / 1.004 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.3916, allocations: 0.8401 MB / 1.005 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.3938, allocations: 1.189 MB / 1.006 GB, free: 332 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.3938, allocations: 4 kB / 1.006 GB, free: 328 kB / 0.6198 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003645/0.3975, allocations: 1.421 MB / 1.007 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.3976, allocations: 140.5 kB / 1.008 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/0.3977, allocations: 12 kB / 1.008 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.926e-05/0.3978, allocations: 24 kB / 1.008 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/0.3984, allocations: 155.5 kB / 1.008 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.176e-05/0.3985, allocations: 39.84 kB / 1.008 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.4002, allocations: 266.6 kB / 1.008 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/0.4005, allocations: 83.97 kB / 1.008 GB, free: 14.14 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 132 ($PRE.truHol.onDelay.u,$PRE.truHol.toOutputTrue.enableFire,$PRE.truHol.toInitial.enableFire,$PRE.truHol1.onDelay.u,$PRE.truHol1.toOutputTrue.enableFire,$PRE.truHol1.toInitial.enableFire,$PRE.truHol2.onDelay.u,$PRE.truHol2.toOutputTrue.enableFire,$PRE.truHol2.toInitial.enableFire,$PRE.truHol3.onDelay.u,$PRE.truHol3.toOutputTrue.enableFire,$PRE.truHol3.toInitial.enableFire,$whenCondition18,$PRE.truHol.onDelay.t_next,$whenCondition16,$whenCondition17,$whenCondition19,$whenCondition20,$PRE.booPul.y,booPul.y,truHol.stateGraphRoot.activeSteps,truHol.onDelay.u,truHol.onDelay.y,truHol.initialStep.active,$PRE.truHol.initialStep.localActive,truHol.initialStep.localActive,$PRE.truHol.initialStep.newActive,truHol.initialStep.newActive,$PRE.truHol.initialStep.oldActive,truHol.initialStep.oldActive,$PRE.truHol.outputTrue.localActive,truHol.outputTrue.localActive,$PRE.truHol.outputTrue.newActive,truHol.outputTrue.newActive,$PRE.truHol.outputTrue.oldActive,truHol.outputTrue.oldActive,truHol.outputTrue.active,truHol.toOutputTrue.enableFire,truHol.toInitial.enableFire,truHol.onDelay.t_next,$whenCondition13,$PRE.truHol1.onDelay.t_next,$whenCondition11,$whenCondition12,$whenCondition14,$whenCondition15,$PRE.booPul1.y,booPul1.y,truHol1.stateGraphRoot.activeSteps,truHol1.onDelay.u,truHol1.onDelay.y,truHol1.initialStep.active,$PRE.truHol1.initialStep.localActive,truHol1.initialStep.localActive,$PRE.truHol1.initialStep.newActive,truHol1.initialStep.newActive,$PRE.truHol1.initialStep.oldActive,truHol1.initialStep.oldActive,$PRE.truHol1.outputTrue.localActive,truHol1.outputTrue.localActive,$PRE.truHol1.outputTrue.newActive,truHol1.outputTrue.newActive,$PRE.truHol1.outputTrue.oldActive,truHol1.outputTrue.oldActive,truHol1.outputTrue.active,truHol1.toOutputTrue.enableFire,truHol1.toInitial.enableFire,truHol1.onDelay.t_next,$whenCondition8,$PRE.truHol2.onDelay.t_next,$whenCondition6,$whenCondition7,$whenCondition9,$whenCondition10,$PRE.booPul2.y,booPul2.y,truHol2.stateGraphRoot.activeSteps,truHol2.onDelay.u,truHol2.onDelay.y,truHol2.initialStep.active,$PRE.truHol2.initialStep.localActive,truHol2.initialStep.localActive,$PRE.truHol2.initialStep.newActive,truHol2.initialStep.newActive,$PRE.truHol2.initialStep.oldActive,truHol2.initialStep.oldActive,$PRE.truHol2.outputTrue.localActive,truHol2.outputTrue.localActive,$PRE.truHol2.outputTrue.newActive,truHol2.outputTrue.newActive,$PRE.truHol2.outputTrue.oldActive,truHol2.outputTrue.oldActive,truHol2.outputTrue.active,truHol2.toOutputTrue.enableFire,truHol2.toInitial.enableFire,truHol2.onDelay.t_next,$whenCondition3,$PRE.truHol3.onDelay.t_next,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5,$PRE.booPul3.y,booPul3.y,truHol3.stateGraphRoot.activeSteps,truHol3.onDelay.u,truHol3.onDelay.y,truHol3.initialStep.active,$PRE.truHol3.initialStep.localActive,truHol3.initialStep.localActive,$PRE.truHol3.initialStep.newActive,truHol3.initialStep.newActive,$PRE.truHol3.initialStep.oldActive,truHol3.initialStep.oldActive,$PRE.truHol3.outputTrue.localActive,truHol3.outputTrue.localActive,$PRE.truHol3.outputTrue.newActive,truHol3.outputTrue.newActive,$PRE.truHol3.outputTrue.oldActive,truHol3.outputTrue.oldActive,truHol3.outputTrue.active,truHol3.toOutputTrue.enableFire,truHol3.toInitial.enableFire,truHol3.onDelay.t_next,truHol.stateGraphRoot.resume,truHol.stateGraphRoot.suspend,truHol1.stateGraphRoot.resume,truHol1.stateGraphRoot.suspend,truHol2.stateGraphRoot.resume,truHol2.stateGraphRoot.suspend,truHol3.stateGraphRoot.resume,truHol3.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 172 * Array equations: 0 * Algorithm blocks: 4 * 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.001004/0.4015, allocations: 388 kB / 1.009 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.4017, allocations: 67.23 kB / 1.009 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/0.4044, allocations: 0.8802 MB / 1.009 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-05/0.4045, allocations: 7.984 kB / 1.009 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.4045, allocations: 3.938 kB / 1.009 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.4047, allocations: 144.1 kB / 1.01 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.4049, allocations: 35.91 kB / 1.01 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.4053, allocations: 27.98 kB / 1.01 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003215/0.4057, allocations: 103.8 kB / 1.01 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002815/0.4085, allocations: 1.175 MB / 1.011 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002603/0.4111, allocations: 1.248 MB / 1.012 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001027/0.4122, allocations: 407.7 kB / 1.013 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004853/0.4127, allocations: 243.2 kB / 1.013 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of Backend: time 9.21e-07/0.4127, allocations: 0 / 1.013 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003949/0.4166, allocations: 1.067 MB / 1.014 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of SimCode: time 0.004134/0.4208, allocations: 1.853 MB / 1.016 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of Templates: time 0.03404/0.4549, allocations: 9.93 MB / 1.025 GB, free: 12.53 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe 2>&1)