Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.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.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001281/0.001281, allocations: 175.8 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.993/1.993, allocations: 205 MB / 0.5767 GB, free: 21.01 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.0007295/0.0007297, allocations: 88.73 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003206, allocations: 11.03 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2272, allocations: 105.4 MB / 0.8968 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves): time 0.004213/0.2314, allocations: 4.702 MB / 0.9014 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002656/0.2341, allocations: 1.911 MB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006071/0.2347, allocations: 27.88 kB / 0.9033 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.2351, allocations: 107 kB / 0.9034 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.2354, allocations: 91.22 kB / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007735/0.2361, allocations: 0.5129 MB / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007991/0.237, allocations: 1.34 MB / 0.9053 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009202/0.2379, allocations: 1.004 MB / 0.9063 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.2382, allocations: 338.2 kB / 0.9066 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.2384, allocations: 405.4 kB / 0.907 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.721e-05/0.2385, allocations: 43.94 kB / 0.907 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.2386, allocations: 47.98 kB / 0.9071 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.2387, allocations: 175.2 kB / 0.9072 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.239, allocations: 472.8 kB / 0.9077 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009025/0.2399, allocations: 1.783 MB / 0.9094 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2399, allocations: 0 / 0.9094 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2399, allocations: 0 / 0.9094 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.2399, allocations: 0 / 0.9094 GB, free: 55.09 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.001741/0.2417, allocations: 1.263 MB / 0.9106 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2417, allocations: 8.031 kB / 0.9107 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.2419, allocations: 135.3 kB / 0.9108 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008743/0.2428, allocations: 0.7199 MB / 0.9115 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.068e-05/0.2429, allocations: 106.8 kB / 0.9116 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.243, allocations: 128.4 kB / 0.9117 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.2446, allocations: 1.174 MB / 0.9129 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.2447, allocations: 4 kB / 0.9129 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.054e-05/0.2447, allocations: 51.94 kB / 0.9129 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.2448, allocations: 28 kB / 0.9129 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.2462, allocations: 0.871 MB / 0.9138 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/0.2501, allocations: 3.799 MB / 0.9175 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.2514, allocations: 0.7526 MB / 0.9182 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.2519, allocations: 351.3 kB / 0.9186 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.023e-05/0.252, allocations: 20.53 kB / 0.9186 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008057/0.2528, allocations: 0.4924 MB / 0.9191 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=78): time 3.146e-06/0.2528, allocations: 3.984 kB / 0.9191 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78): time 0.00193/0.2548, allocations: 1.075 MB / 0.9201 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.2548, allocations: 85.77 kB / 0.9202 GB, free: 43.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007307/0.2556, allocations: 0.7385 MB / 0.9209 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.412e-05/0.2556, allocations: 57.7 kB / 0.921 GB, free: 42.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.2559, allocations: 0.5072 MB / 0.9215 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.2561, allocations: 217 kB / 0.9217 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.2562, allocations: 129.6 kB / 0.9218 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2564, allocations: 410.7 kB / 0.9222 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006037/0.257, allocations: 310.4 kB / 0.9225 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007001/0.2577, allocations: 0.6034 MB / 0.9231 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.2588, allocations: 0.8079 MB / 0.9239 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.2588, allocations: 7.938 kB / 0.9239 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00161/0.2605, allocations: 0.9925 MB / 0.9248 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.2607, allocations: 317.5 kB / 0.9252 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.2607, allocations: 8 kB / 0.9252 GB, free: 38.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/0.2607, allocations: 12 kB / 0.9252 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.2613, allocations: 175.7 kB / 0.9253 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/0.2614, allocations: 19.88 kB / 0.9254 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/0.2619, allocations: 142.8 kB / 0.9255 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.507e-05/0.262, allocations: 47.98 kB / 0.9255 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.012e-06/0.262, allocations: 4 kB / 0.9255 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/0.2633, allocations: 0.8826 MB / 0.9264 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.2633, allocations: 8 kB / 0.9264 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.2633, allocations: 19.94 kB / 0.9264 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.2638, allocations: 171.9 kB / 0.9266 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.2638, allocations: 19.92 kB / 0.9266 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.2643, allocations: 126.9 kB / 0.9267 GB, free: 36.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/0.2644, allocations: 48 kB / 0.9268 GB, free: 36.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$PRE.damVal.truHol2.onDelay.t_next,$whenCondition7,$PRE.damVal.truDel3.t_next,$whenCondition4,$PRE.damVal.truDel4.t_next,$whenCondition1,damVal.truHol2.onDelay.t_next,damVal.truDel3.t_next,damVal.truDel4.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,damVal.unOcc.y,damVal.conVal.trigger,damVal.and1.y,damVal.or2.y,damVal.truDel4.y,damVal.truDel4.u,damVal.truDel3.y,damVal.truDel3.u,damVal.truHol2.toInitial.enableFire,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.outputTrue.active,damVal.truHol2.outputTrue.oldActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.initialStep.oldActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.active,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.u,damVal.truHol2.stateGraphRoot.activeSteps,damVal.hys7.y,$PRE.damVal.hys7.y,damVal.hys6.y,$PRE.damVal.hys6.y,damVal.hys4.y,$PRE.damVal.hys4.y,damVal.hys3.y,$PRE.damVal.hys3.y,damVal.hys2.y,$PRE.damVal.hys2.y,damVal.and4.y,damVal.and2.y,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition5,$whenCondition9,$whenCondition8,$whenCondition10,damVal.conVal.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 133 * 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.0004606/0.2649, allocations: 396.8 kB / 0.9272 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.986e-05/0.265, allocations: 90.95 kB / 0.9272 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.2664, allocations: 0.8505 MB / 0.9281 GB, free: 35.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.2664, allocations: 3.984 kB / 0.9281 GB, free: 35.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2664, allocations: 4 kB / 0.9281 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.2665, allocations: 167.9 kB / 0.9282 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.2666, allocations: 27.98 kB / 0.9283 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.267, allocations: 51.95 kB / 0.9283 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.2671, allocations: 92.45 kB / 0.9284 GB, free: 34.87 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001522/0.2687, allocations: 1.023 MB / 0.9294 GB, free: 33.84 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001944/0.2706, allocations: 1.503 MB / 0.9309 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005419/0.2712, allocations: 393.1 kB / 0.9313 GB, free: 31.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004514/0.2716, allocations: 483.1 kB / 0.9317 GB, free: 31.46 MB / 0.6042 GB Notification: Performance of Backend: time 5.71e-07/0.2716, allocations: 0 / 0.9317 GB, free: 31.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00204/0.2737, allocations: 1.118 MB / 0.9328 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002197/0.2759, allocations: 2.323 MB / 0.9351 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.01681/0.2927, allocations: 12.05 MB / 0.9468 GB, free: 16.01 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe 2>&1)