Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.TrueHoldWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001926/0.001926, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.586/1.586, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.948/1.948, allocations: 292.3 MB / 0.5496 GB, free: 17.64 MB / 462.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.001682/0.001682, allocations: 74.64 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2754, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset): time 0.004897/0.2804, allocations: 2.837 MB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4816/0.762, allocations: 1.689 MB / 0.7892 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.7623, allocations: 20.25 kB / 0.7892 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.7626, allocations: 116.3 kB / 0.7894 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.7628, allocations: 110.8 kB / 0.7895 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.7646, allocations: 0.9504 MB / 0.7904 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.7658, allocations: 1.661 MB / 0.792 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009001/0.7668, allocations: 0.9014 MB / 0.7929 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.7672, allocations: 0.5521 MB / 0.7934 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.7677, allocations: 0.5608 MB / 0.794 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.7678, allocations: 166.8 kB / 0.7941 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.7681, allocations: 184.3 kB / 0.7943 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.7683, allocations: 307.5 kB / 0.7946 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004043/0.7687, allocations: 0.5874 MB / 0.7952 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.7699, allocations: 1.695 MB / 0.7968 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7699, allocations: 1 kB / 0.7968 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7699, allocations: 0 / 0.7968 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.89e-05/0.77, allocations: 0 / 0.7968 GB, free: 44.73 MB / 0.6544 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.001648/0.7716, allocations: 1.361 MB / 0.7982 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.7717, allocations: 6.969 kB / 0.7982 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.7719, allocations: 117.7 kB / 0.7983 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008429/0.7727, allocations: 0.5728 MB / 0.7988 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.639e-05/0.7728, allocations: 106.9 kB / 0.7989 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.773, allocations: 136.7 kB / 0.7991 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.7748, allocations: 1.193 MB / 0.8002 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.7748, allocations: 6.719 kB / 0.8002 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-05/0.7749, allocations: 52.41 kB / 0.8003 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.7749, allocations: 26.5 kB / 0.8003 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.7763, allocations: 0.7373 MB / 0.801 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/0.7807, allocations: 5.086 MB / 0.806 GB, free: 38.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.7819, allocations: 0.6505 MB / 0.8066 GB, free: 38.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/0.7824, allocations: 352.2 kB / 0.807 GB, free: 37.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.7824, allocations: 7 kB / 0.807 GB, free: 37.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009143/0.7833, allocations: 0.5571 MB / 0.8075 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=92): time 2.995e-06/0.7833, allocations: 0 / 0.8075 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=92): time 0.002085/0.7854, allocations: 1.082 MB / 0.8086 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.7855, allocations: 151.8 kB / 0.8087 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.786, allocations: 480.4 kB / 0.8092 GB, free: 36.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.7862, allocations: 86.75 kB / 0.8093 GB, free: 36.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.7865, allocations: 404.3 kB / 0.8097 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.7866, allocations: 219 kB / 0.8099 GB, free: 36.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005454/0.7872, allocations: 357.2 kB / 0.8102 GB, free: 36.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.644e-05/0.7873, allocations: 332.8 kB / 0.8105 GB, free: 35.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007437/0.788, allocations: 384 kB / 0.8109 GB, free: 35.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009384/0.789, allocations: 0.8421 MB / 0.8117 GB, free: 35.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.7903, allocations: 1.187 MB / 0.8129 GB, free: 34.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.7903, allocations: 3.781 kB / 0.8129 GB, free: 34.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.002481/0.7928, allocations: 1.446 MB / 0.8143 GB, free: 33.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.315e-05/0.7929, allocations: 137.1 kB / 0.8144 GB, free: 33.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.7929, allocations: 14.75 kB / 0.8144 GB, free: 33.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.796e-05/0.7929, allocations: 23.48 kB / 0.8145 GB, free: 33.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.7934, allocations: 156.9 kB / 0.8146 GB, free: 33.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.239e-05/0.7935, allocations: 34.06 kB / 0.8146 GB, free: 33.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009844/0.7945, allocations: 217.7 kB / 0.8148 GB, free: 33.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.7946, allocations: 87.19 kB / 0.8149 GB, free: 33.27 MB / 0.6544 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,$PRE.truHol.onDelay.t_next,$whenCondition18,$whenCondition16,$whenCondition17,truHol.toInitial.enableFire,truHol.toOutputTrue.enableFire,truHol.outputTrue.active,truHol.outputTrue.oldActive,$PRE.truHol.outputTrue.oldActive,truHol.outputTrue.newActive,$PRE.truHol.outputTrue.newActive,truHol.outputTrue.localActive,$PRE.truHol.outputTrue.localActive,truHol.initialStep.oldActive,$PRE.truHol.initialStep.oldActive,truHol.initialStep.newActive,$PRE.truHol.initialStep.newActive,truHol.initialStep.localActive,$PRE.truHol.initialStep.localActive,truHol.initialStep.active,truHol.onDelay.y,truHol.onDelay.u,truHol.stateGraphRoot.activeSteps,booPul.y,$PRE.booPul.y,$whenCondition20,$whenCondition19,truHol.onDelay.t_next,$PRE.truHol1.onDelay.t_next,$whenCondition13,$whenCondition11,$whenCondition12,truHol1.toInitial.enableFire,truHol1.toOutputTrue.enableFire,truHol1.outputTrue.active,truHol1.outputTrue.oldActive,$PRE.truHol1.outputTrue.oldActive,truHol1.outputTrue.newActive,$PRE.truHol1.outputTrue.newActive,truHol1.outputTrue.localActive,$PRE.truHol1.outputTrue.localActive,truHol1.initialStep.oldActive,$PRE.truHol1.initialStep.oldActive,truHol1.initialStep.newActive,$PRE.truHol1.initialStep.newActive,truHol1.initialStep.localActive,$PRE.truHol1.initialStep.localActive,truHol1.initialStep.active,truHol1.onDelay.y,truHol1.onDelay.u,truHol1.stateGraphRoot.activeSteps,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition14,truHol1.onDelay.t_next,$PRE.truHol2.onDelay.t_next,$whenCondition8,$whenCondition6,$whenCondition7,truHol2.toInitial.enableFire,truHol2.toOutputTrue.enableFire,truHol2.outputTrue.active,truHol2.outputTrue.oldActive,$PRE.truHol2.outputTrue.oldActive,truHol2.outputTrue.newActive,$PRE.truHol2.outputTrue.newActive,truHol2.outputTrue.localActive,$PRE.truHol2.outputTrue.localActive,truHol2.initialStep.oldActive,$PRE.truHol2.initialStep.oldActive,truHol2.initialStep.newActive,$PRE.truHol2.initialStep.newActive,truHol2.initialStep.localActive,$PRE.truHol2.initialStep.localActive,truHol2.initialStep.active,truHol2.onDelay.y,truHol2.onDelay.u,truHol2.stateGraphRoot.activeSteps,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition9,truHol2.onDelay.t_next,$PRE.truHol3.onDelay.t_next,$whenCondition3,$whenCondition1,$whenCondition2,truHol3.toInitial.enableFire,truHol3.toOutputTrue.enableFire,truHol3.outputTrue.active,truHol3.outputTrue.oldActive,$PRE.truHol3.outputTrue.oldActive,truHol3.outputTrue.newActive,$PRE.truHol3.outputTrue.newActive,truHol3.outputTrue.localActive,$PRE.truHol3.outputTrue.localActive,truHol3.initialStep.oldActive,$PRE.truHol3.initialStep.oldActive,truHol3.initialStep.newActive,$PRE.truHol3.initialStep.newActive,truHol3.initialStep.localActive,$PRE.truHol3.initialStep.localActive,truHol3.initialStep.active,truHol3.onDelay.y,truHol3.onDelay.u,truHol3.stateGraphRoot.activeSteps,booPul3.y,$PRE.booPul3.y,$whenCondition5,$whenCondition4,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005081/0.7951, allocations: 383.1 kB / 0.8153 GB, free: 33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.7952, allocations: 66.67 kB / 0.8154 GB, free: 32.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.7968, allocations: 0.8917 MB / 0.8162 GB, free: 32.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/0.7968, allocations: 10.28 kB / 0.8162 GB, free: 32.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.7968, allocations: 1.281 kB / 0.8162 GB, free: 32.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.7969, allocations: 146.8 kB / 0.8164 GB, free: 32.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.797, allocations: 37.42 kB / 0.8164 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.7972, allocations: 29.92 kB / 0.8164 GB, free: 32.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/0.7974, allocations: 94.34 kB / 0.8165 GB, free: 32.42 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001483/0.7989, allocations: 1.171 MB / 0.8177 GB, free: 31.81 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001371/0.8003, allocations: 1.257 MB / 0.8189 GB, free: 31.07 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005925/0.8009, allocations: 412.7 kB / 0.8193 GB, free: 30.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002561/0.8012, allocations: 242.1 kB / 0.8195 GB, free: 30.78 MB / 0.6544 GB Notification: Performance of Backend: time 4.01e-07/0.8012, allocations: 5.312 kB / 0.8195 GB, free: 30.78 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00224/0.8034, allocations: 1.08 MB / 0.8206 GB, free: 30.18 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002144/0.8056, allocations: 1.616 MB / 0.8222 GB, free: 29.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.02439/0.83, allocations: 10.97 MB / 0.8329 GB, free: 27.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe 2>&1)