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.TrueHoldWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.445/1.445, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 166.2 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008265/0.0008265, allocations: 86.38 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 13.53 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2301, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset): time 0.003227/0.2334, allocations: 2.756 MB / 0.8995 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00211/0.2356, allocations: 1.341 MB / 0.9008 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/0.2359, allocations: 23.81 kB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.2362, allocations: 79.25 kB / 0.9009 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.2364, allocations: 67.42 kB / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.2376, allocations: 0.5424 MB / 0.9015 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009908/0.2386, allocations: 1.286 MB / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007209/0.2393, allocations: 0.7399 MB / 0.9034 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.2395, allocations: 342.6 kB / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.2398, allocations: 377.9 kB / 0.9041 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.129e-05/0.2399, allocations: 44 kB / 0.9042 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.2401, allocations: 56 kB / 0.9042 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.2402, allocations: 195.2 kB / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.2405, allocations: 425.6 kB / 0.9048 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008686/0.2414, allocations: 1.316 MB / 0.9061 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2414, allocations: 0 / 0.9061 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.037e-06/0.2414, allocations: 0 / 0.9061 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.969e-05/0.2414, allocations: 0 / 0.9061 GB, free: 58.51 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001662/0.2431, allocations: 1.023 MB / 0.9071 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 8.008e-05/0.2432, allocations: 12.03 kB / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.2434, allocations: 111.7 kB / 0.9072 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.244, allocations: 0.5376 MB / 0.9077 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.2441, allocations: 114.9 kB / 0.9078 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.2442, allocations: 120.4 kB / 0.908 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.2458, allocations: 1.198 MB / 0.9091 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.2458, allocations: 7.875 kB / 0.9091 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.703e-05/0.2459, allocations: 51.98 kB / 0.9092 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.2459, allocations: 27.98 kB / 0.9092 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.2471, allocations: 0.7492 MB / 0.9099 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003973/0.251, allocations: 5.045 MB / 0.9149 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/0.252, allocations: 0.6782 MB / 0.9155 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/0.2525, allocations: 347.3 kB / 0.9159 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.2525, allocations: 11.94 kB / 0.9159 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007551/0.2533, allocations: 0.5352 MB / 0.9164 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=92): time 3.156e-06/0.2533, allocations: 0 / 0.9164 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=92): time 0.001539/0.2548, allocations: 1.047 MB / 0.9174 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.2549, allocations: 152.4 kB / 0.9176 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/0.2553, allocations: 468.6 kB / 0.918 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.523e-05/0.2554, allocations: 77.69 kB / 0.9181 GB, free: 45.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.2556, allocations: 396 kB / 0.9185 GB, free: 45.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.2558, allocations: 225.2 kB / 0.9187 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.256, allocations: 201.6 kB / 0.9189 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2561, allocations: 378.7 kB / 0.9192 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.2565, allocations: 299.9 kB / 0.9195 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/0.2571, allocations: 0.7284 MB / 0.9202 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009323/0.2581, allocations: 0.964 MB / 0.9212 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.2581, allocations: 8 kB / 0.9212 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001427/0.2595, allocations: 1.079 MB / 0.9222 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.2596, allocations: 12 kB / 0.9222 GB, free: 41.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.2596, allocations: 19.98 kB / 0.9223 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.056e-05/0.2596, allocations: 20 kB / 0.9223 GB, free: 41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.2601, allocations: 160.3 kB / 0.9224 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.129e-05/0.2602, allocations: 31.86 kB / 0.9225 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.2608, allocations: 154.7 kB / 0.9226 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.784e-05/0.2609, allocations: 63.98 kB / 0.9227 GB, free: 40.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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,$whenCondition14,$whenCondition13,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,truHol.u,booPul.pulseStart,$PRE.booPul.pulseStart,$whenCondition16,$whenCondition15,truHol.onDelay.t_next,$PRE.truHol1.onDelay.t_next,$whenCondition10,$whenCondition9,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,truHol1.u,booPul1.pulseStart,$PRE.booPul1.pulseStart,$whenCondition12,$whenCondition11,truHol1.onDelay.t_next,$PRE.truHol2.onDelay.t_next,$whenCondition6,$whenCondition5,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,truHol2.u,booPul2.pulseStart,$PRE.booPul2.pulseStart,$whenCondition8,$whenCondition7,truHol2.onDelay.t_next,$PRE.truHol3.onDelay.t_next,$whenCondition2,$whenCondition1,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,truHol3.u,booPul3.pulseStart,$PRE.booPul3.pulseStart,$whenCondition4,$whenCondition3,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): 176 * 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.000594/0.2615, allocations: 387.2 kB / 0.923 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.2616, allocations: 63.25 kB / 0.9231 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.2629, allocations: 0.8747 MB / 0.924 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.2629, allocations: 3.984 kB / 0.924 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2629, allocations: 3.938 kB / 0.924 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.263, allocations: 148.1 kB / 0.9241 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.2631, allocations: 31.97 kB / 0.9241 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.2635, allocations: 55.95 kB / 0.9242 GB, free: 39.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.2637, allocations: 103.8 kB / 0.9243 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001309/0.265, allocations: 1.19 MB / 0.9255 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001114/0.2661, allocations: 1.228 MB / 0.9267 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004706/0.2666, allocations: 420.3 kB / 0.9271 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002243/0.2668, allocations: 239.2 kB / 0.9273 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of Backend: time 1.032e-06/0.2668, allocations: 4 kB / 0.9273 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001531/0.2684, allocations: 0.6734 MB / 0.9279 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001994/0.2704, allocations: 1.916 MB / 0.9298 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.0136/0.284, allocations: 8.425 MB / 0.938 GB, free: 24.82 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe 2>&1)