Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.702/1.702, allocations: 287.4 MB / 303.2 MB, free: 8.273 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.001131/0.001131, allocations: 188.9 kB / 371.8 MB, free: 10.82 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.694/1.694, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0007387/0.0007387, allocations: 95.97 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004312, allocations: 13.22 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2532, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset): time 0.002532/0.2558, allocations: 2.484 MB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002568/0.2584, allocations: 1.705 MB / 0.9834 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000356/0.2588, allocations: 27.81 kB / 0.9834 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.259, allocations: 75.2 kB / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.2592, allocations: 79.33 kB / 0.9836 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.2611, allocations: 0.722 MB / 0.9843 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.2623, allocations: 1.376 MB / 0.9856 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008074/0.2631, allocations: 0.7447 MB / 0.9863 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004126/0.2636, allocations: 418.7 kB / 0.9867 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.2639, allocations: 414 kB / 0.9871 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.264, allocations: 56 kB / 0.9872 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.2642, allocations: 83.95 kB / 0.9873 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.2644, allocations: 183.3 kB / 0.9874 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.2646, allocations: 209.3 kB / 0.9876 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008056/0.2654, allocations: 1.231 MB / 0.9888 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.2654, allocations: 0 / 0.9888 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.976e-06/0.2654, allocations: 0 / 0.9888 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.2654, allocations: 0 / 0.9888 GB, free: 18.35 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.001497/0.267, allocations: 1.099 MB / 0.9899 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.267, allocations: 15.97 kB / 0.9899 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.2672, allocations: 123.7 kB / 0.9901 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006185/0.2678, allocations: 0.5571 MB / 0.9906 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.268, allocations: 114.9 kB / 0.9907 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.2681, allocations: 136.4 kB / 0.9908 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.2698, allocations: 1.194 MB / 0.992 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.2698, allocations: 7.875 kB / 0.992 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.14e-05/0.2699, allocations: 51.98 kB / 0.9921 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.27, allocations: 24 kB / 0.9921 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.2711, allocations: 0.7209 MB / 0.9928 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004158/0.2753, allocations: 5.125 MB / 0.9978 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009518/0.2763, allocations: 0.6376 MB / 0.9984 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005035/0.2768, allocations: 353.5 kB / 0.9987 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.2769, allocations: 15.92 kB / 0.9988 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000774/0.2776, allocations: 0.5546 MB / 0.9993 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=92): time 2.675e-06/0.2776, allocations: 0 / 0.9993 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92): time 0.001635/0.2793, allocations: 1.057 MB / 1 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.2793, allocations: 156.4 kB / 1 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.2798, allocations: 476.5 kB / 1.001 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.2799, allocations: 89.69 kB / 1.001 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.2801, allocations: 408 kB / 1.001 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.2803, allocations: 217.3 kB / 1.002 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.2803, allocations: 32 kB / 1.002 GB, free: 4.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.232e-05/0.2804, allocations: 386.7 kB / 1.002 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000638/0.2811, allocations: 379.7 kB / 1.002 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007742/0.2819, allocations: 0.8323 MB / 1.003 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.283, allocations: 1.188 MB / 1.004 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.2831, allocations: 4 kB / 1.004 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.001926/0.285, allocations: 1.426 MB / 1.006 GB, free: 4 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.2852, allocations: 139 kB / 1.006 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.2852, allocations: 16 kB / 1.006 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.759e-05/0.2852, allocations: 24 kB / 1.006 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.2857, allocations: 155.5 kB / 1.006 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.07e-05/0.2858, allocations: 35.86 kB / 1.006 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.287, allocations: 266.6 kB / 1.006 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.2871, allocations: 87.97 kB / 1.006 GB, free: 15.27 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.0007086/0.2879, allocations: 383.1 kB / 1.007 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.288, allocations: 67.23 kB / 1.007 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.2897, allocations: 0.8841 MB / 1.008 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.2897, allocations: 7.984 kB / 1.008 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2897, allocations: 0 / 1.008 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.2899, allocations: 144.1 kB / 1.008 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.29, allocations: 27.97 kB / 1.008 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.2902, allocations: 31.98 kB / 1.008 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.2905, allocations: 103.8 kB / 1.008 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001627/0.2921, allocations: 1.175 MB / 1.009 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001518/0.2937, allocations: 1.248 MB / 1.01 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005611/0.2942, allocations: 419.7 kB / 1.011 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002807/0.2945, allocations: 239.2 kB / 1.011 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of Backend: time 9.32e-07/0.2945, allocations: 0 / 1.011 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002339/0.2969, allocations: 1.062 MB / 1.012 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of SimCode: time 0.002401/0.2993, allocations: 1.853 MB / 1.014 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of Templates: time 0.01971/0.319, allocations: 9.849 MB / 1.024 GB, free: 13.73 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe 2>&1)