Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.406/2.406, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001462/0.001462, allocations: 181.2 kB / 326.3 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.424/2.424, allocations: 205.4 MB / 0.5772 GB, free: 21.2 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.0009797/0.0009794, allocations: 95.39 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.000493, allocations: 18.41 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2116, allocations: 106.3 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset): time 0.00374/0.2154, allocations: 2.562 MB / 0.902 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003104/0.2186, allocations: 1.333 MB / 0.9033 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005989/0.2193, allocations: 19.94 kB / 0.9033 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.2195, allocations: 91.11 kB / 0.9034 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.2199, allocations: 71.36 kB / 0.9035 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.2217, allocations: 391.5 kB / 0.9039 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002223/0.2239, allocations: 1.232 MB / 0.9051 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.2255, allocations: 0.7084 MB / 0.9058 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006093/0.2262, allocations: 330.7 kB / 0.9061 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004731/0.2266, allocations: 362.2 kB / 0.9064 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.2268, allocations: 44 kB / 0.9065 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.227, allocations: 56 kB / 0.9065 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.2272, allocations: 187.3 kB / 0.9067 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.2275, allocations: 201.2 kB / 0.9069 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.229, allocations: 1.103 MB / 0.908 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.198e-06/0.2291, allocations: 0 / 0.908 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.797e-06/0.2291, allocations: 0 / 0.908 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.044e-05/0.2292, allocations: 4 kB / 0.908 GB, free: 57.3 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.002856/0.2321, allocations: 1.031 MB / 0.909 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.2321, allocations: 8.031 kB / 0.909 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003575/0.2325, allocations: 103.8 kB / 0.9091 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009754/0.2335, allocations: 0.53 MB / 0.9096 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.2337, allocations: 107 kB / 0.9097 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002841/0.234, allocations: 124.4 kB / 0.9098 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.2369, allocations: 1.194 MB / 0.911 GB, free: 54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.334e-05/0.237, allocations: 11.88 kB / 0.911 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.2371, allocations: 47.98 kB / 0.911 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.2372, allocations: 24 kB / 0.9111 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.2394, allocations: 0.7336 MB / 0.9118 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007071/0.2465, allocations: 5.041 MB / 0.9167 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.2484, allocations: 0.6839 MB / 0.9174 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009311/0.2494, allocations: 356.9 kB / 0.9177 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.448e-05/0.2495, allocations: 4 kB / 0.9177 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/0.2507, allocations: 0.5352 MB / 0.9182 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=92): time 5.1e-06/0.2508, allocations: 4 kB / 0.9182 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=92): time 0.002956/0.2538, allocations: 1.034 MB / 0.9193 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.2539, allocations: 148.5 kB / 0.9194 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006483/0.2545, allocations: 468.7 kB / 0.9198 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002176/0.2548, allocations: 81.69 kB / 0.9199 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.2551, allocations: 399.9 kB / 0.9203 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.2554, allocations: 221.3 kB / 0.9205 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-05/0.2555, allocations: 24 kB / 0.9205 GB, free: 43.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2557, allocations: 386.7 kB / 0.9209 GB, free: 43.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000934/0.2566, allocations: 287.9 kB / 0.9212 GB, free: 43.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.2579, allocations: 0.7283 MB / 0.9219 GB, free: 42.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.2591, allocations: 357.4 kB / 0.9222 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/0.2591, allocations: 4 kB / 0.9222 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003069/0.2622, allocations: 1.064 MB / 0.9233 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.2623, allocations: 12 kB / 0.9233 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/0.2624, allocations: 16 kB / 0.9233 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.847e-05/0.2624, allocations: 24.06 kB / 0.9233 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009584/0.2634, allocations: 159.5 kB / 0.9235 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.034e-05/0.2635, allocations: 35.86 kB / 0.9235 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009861/0.2645, allocations: 150.7 kB / 0.9237 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.2646, allocations: 60 kB / 0.9237 GB, free: 40.46 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,$whenCondition14,$PRE.truHol.onDelay.t_next,$whenCondition13,$whenCondition15,$whenCondition16,$PRE.booPul.pulseStart,booPul.pulseStart,truHol.u,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,$whenCondition10,$PRE.truHol1.onDelay.t_next,$whenCondition9,$whenCondition11,$whenCondition12,$PRE.booPul1.pulseStart,booPul1.pulseStart,truHol1.u,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,$whenCondition6,$PRE.truHol2.onDelay.t_next,$whenCondition5,$whenCondition7,$whenCondition8,$PRE.booPul2.pulseStart,booPul2.pulseStart,truHol2.u,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,$whenCondition2,$PRE.truHol3.onDelay.t_next,$whenCondition1,$whenCondition3,$whenCondition4,$PRE.booPul3.pulseStart,booPul3.pulseStart,truHol3.u,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): 176 * Array equations: 0 * Algorithm blocks: 0 * 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.0007296/0.2654, allocations: 379.3 kB / 0.9241 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.2656, allocations: 63.33 kB / 0.9241 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.2679, allocations: 0.8654 MB / 0.925 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.2679, allocations: 3.984 kB / 0.925 GB, free: 39.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.2679, allocations: 4 kB / 0.925 GB, free: 39.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.2681, allocations: 148.1 kB / 0.9251 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.2683, allocations: 31.92 kB / 0.9252 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/0.2689, allocations: 59.94 kB / 0.9252 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000295/0.2692, allocations: 115.7 kB / 0.9253 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004087/0.2733, allocations: 1.179 MB / 0.9265 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004083/0.2774, allocations: 1.229 MB / 0.9277 GB, free: 36.33 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001794/0.2793, allocations: 407.7 kB / 0.9281 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004847/0.2798, allocations: 243.2 kB / 0.9283 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of Backend: time 8.72e-07/0.2799, allocations: 0 / 0.9283 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004126/0.284, allocations: 0.6784 MB / 0.929 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of SimCode: time 0.004687/0.2888, allocations: 1.849 MB / 0.9308 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of Templates: time 0.03761/0.3264, allocations: 8.156 MB / 0.9387 GB, free: 25.02 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe 2>&1)