Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4715/0.4715, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 349.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009965/0.0009965, allocations: 109.5 kB / 420 MB, free: 8.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 51.86 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3576, allocations: 70.07 MB / 0.5575 GB, free: 44.97 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5982/0.9558, allocations: 158.4 MB / 0.7122 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.04128/0.9972, allocations: 26.61 MB / 0.7381 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005506/1.003, allocations: 70.66 kB / 0.7382 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003551/1.006, allocations: 0.9059 MB / 0.7391 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.008138/1.015, allocations: 1.508 MB / 0.7406 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.007168/1.022, allocations: 1.506 MB / 0.742 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.01061/1.032, allocations: 5.104 MB / 0.747 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007602/1.04, allocations: 3.832 MB / 0.7508 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004773/1.045, allocations: 1.675 MB / 0.7524 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005369/1.05, allocations: 2.285 MB / 0.7546 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.001369/1.052, allocations: 246.9 kB / 0.7549 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/1.055, allocations: 0.8323 MB / 0.7557 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001223/1.057, allocations: 0.9442 MB / 0.7566 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.004577/1.061, allocations: 1.803 MB / 0.7584 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.01129/1.073, allocations: 5.509 MB / 0.7637 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/1.073, allocations: 0 / 0.7637 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.797e-06/1.073, allocations: 0 / 0.7637 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002197/1.073, allocations: 5.188 kB / 0.7638 GB, free: 14.57 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01994/1.093, allocations: 4.489 MB / 0.7681 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/1.093, allocations: 10.25 kB / 0.7681 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0228/1.116, allocations: 2.77 MB / 0.7709 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008658/1.124, allocations: 2.268 MB / 0.7731 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003213/1.125, allocations: 241.8 kB / 0.7733 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001586/1.126, allocations: 316.6 kB / 0.7736 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02104/1.147, allocations: 5.14 MB / 0.7786 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-05/1.148, allocations: 0 / 0.7786 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006262/1.148, allocations: 132.9 kB / 0.7787 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.636e-05/1.148, allocations: 78.31 kB / 0.7788 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02635/1.175, allocations: 6.289 MB / 0.785 GB, free: 0.4922 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02952/1.204, allocations: 14.53 MB / 0.7992 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009942/1.214, allocations: 4.511 MB / 0.8036 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005098/1.219, allocations: 2.457 MB / 0.806 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008788/1.22, allocations: 0.6708 MB / 0.8066 GB, free: 10 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005308/1.226, allocations: 2.461 MB / 0.809 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=270): time 5.05e-06/1.226, allocations: 0 / 0.809 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of matching and sorting (n=270): time 0.01838/1.244, allocations: 7.539 MB / 0.8164 GB, free: 15.86 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/1.244, allocations: 214 kB / 0.8166 GB, free: 15.61 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/1.248, allocations: 2.392 MB / 0.8189 GB, free: 13.19 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005502/1.248, allocations: 73.7 kB / 0.819 GB, free: 13.11 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/1.25, allocations: 1.345 MB / 0.8203 GB, free: 11.75 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001436/1.251, allocations: 0.8952 MB / 0.8212 GB, free: 10.86 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/1.252, allocations: 496.5 kB / 0.8216 GB, free: 10.37 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001004/1.252, allocations: 313 kB / 0.8219 GB, free: 10.06 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004803/1.257, allocations: 1.968 MB / 0.8239 GB, free: 8.086 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006437/1.264, allocations: 2.268 MB / 0.8261 GB, free: 5.746 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/1.275, allocations: 4.226 MB / 0.8302 GB, free: 1.445 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/1.275, allocations: 6.906 kB / 0.8302 GB, free: 1.441 MB / 0.573 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.012/1.287, allocations: 4.955 MB / 0.8351 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/1.287, allocations: 8 kB / 0.8351 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.287, allocations: 4 kB / 0.8351 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008943/1.288, allocations: 348.8 kB / 0.8354 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003835/1.292, allocations: 0.7855 MB / 0.8362 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005363/1.297, allocations: 3.915 MB / 0.84 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004142/1.301, allocations: 0.5479 MB / 0.8405 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004257/1.302, allocations: 107.9 kB / 0.8406 GB, free: 6.668 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002405/1.304, allocations: 0.9314 MB / 0.8415 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007531/1.305, allocations: 272.6 kB / 0.8418 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/1.319, allocations: 5.54 MB / 0.8472 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/1.319, allocations: 31.88 kB / 0.8472 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/1.319, allocations: 12 kB / 0.8473 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.433e-05/1.319, allocations: 15.94 kB / 0.8473 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01989/1.339, allocations: 9.291 MB / 0.8563 GB, free: 6.504 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.339, allocations: 4 kB / 0.8563 GB, free: 6.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003683/1.343, allocations: 0.7247 MB / 0.8571 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/1.344, allocations: 380.4 kB / 0.8574 GB, free: 5.418 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003223/1.344, allocations: 82.55 kB / 0.8575 GB, free: 5.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006475/1.351, allocations: 5.779 MB / 0.8631 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.351, allocations: 0 / 0.8631 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6563/2.007, allocations: 125.4 MB / 0.9856 GB, free: 307.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002519/2.01, allocations: 0.8017 MB / 0.9864 GB, free: 307.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005438/2.01, allocations: 59.22 kB / 0.9865 GB, free: 307.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002982/2.013, allocations: 409 kB / 0.9869 GB, free: 307 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004328/2.014, allocations: 174.5 kB / 0.987 GB, free: 306.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/2.014, allocations: 96.03 kB / 0.9871 GB, free: 306.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002248/2.016, allocations: 1.744 MB / 0.9888 GB, free: 305.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/2.016, allocations: 0 / 0.9888 GB, free: 305.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005159/2.021, allocations: 1.592 MB / 0.9904 GB, free: 303.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,25,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002537/2.024, allocations: 1.075 MB / 0.9914 GB, free: 303.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0101/2.034, allocations: 4.793 MB / 0.9961 GB, free: 299.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/2.034, allocations: 4 kB / 0.9961 GB, free: 299.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005422/2.039, allocations: 2.761 MB / 0.9988 GB, free: 297.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00327/2.043, allocations: 0.6284 MB / 0.9994 GB, free: 296.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/2.061, allocations: 11.66 MB / 1.011 GB, free: 285.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/2.063, allocations: 2.532 MB / 1.013 GB, free: 282.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.007435/2.071, allocations: 1.412 MB / 1.015 GB, free: 281.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002553/2.073, allocations: 327.2 kB / 1.015 GB, free: 280.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/2.073, allocations: 0 / 1.015 GB, free: 280.8 MB / 0.698 GB Notification: Performance of Templates: time 0.1143/2.187, allocations: 94.87 MB / 1.108 GB, free: 186.1 MB / 0.698 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)