Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.81/1.81, allocations: 288.3 MB / 303.2 MB, free: 8.102 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.001358/0.001358, allocations: 181.9 kB / 371.8 MB, free: 10.28 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.723/1.723, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0009125/0.0009125, allocations: 102.8 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004081, allocations: 18.25 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2216, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6683/0.89, allocations: 137.7 MB / 1.114 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03601/0.9261, allocations: 23.07 MB / 1.136 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005226/0.9314, allocations: 74.34 kB / 1.137 GB, free: 15.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003769/0.9352, allocations: 1.034 MB / 1.138 GB, free: 15.63 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009266/0.9445, allocations: 2.29 MB / 1.14 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006207/0.9507, allocations: 1.81 MB / 1.142 GB, free: 14.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007025/0.9577, allocations: 3.597 MB / 1.145 GB, free: 13.03 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005116/0.9629, allocations: 3.272 MB / 1.148 GB, free: 11.74 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004619/0.9675, allocations: 1.504 MB / 1.15 GB, free: 10.97 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004709/0.9723, allocations: 1.899 MB / 1.152 GB, free: 9.852 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001151/0.9734, allocations: 138.3 kB / 1.152 GB, free: 9.852 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/0.9766, allocations: 0.5508 MB / 1.152 GB, free: 9.676 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001329/0.9779, allocations: 0.8247 MB / 1.153 GB, free: 9.121 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002551/0.9805, allocations: 0.7434 MB / 1.154 GB, free: 8.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008592/0.9891, allocations: 4.997 MB / 1.159 GB, free: 5.098 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.9891, allocations: 0 / 1.159 GB, free: 5.098 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9892, allocations: 1.859 kB / 1.159 GB, free: 5.098 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002731/0.9894, allocations: 4 kB / 1.159 GB, free: 5.094 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01232/1.002, allocations: 4.311 MB / 1.163 GB, free: 2.234 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.002, allocations: 9.969 kB / 1.163 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01342/1.015, allocations: 2.754 MB / 1.166 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006092/1.021, allocations: 2.371 MB / 1.168 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/1.022, allocations: 277.2 kB / 1.168 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/1.023, allocations: 360.7 kB / 1.168 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/1.037, allocations: 5.537 MB / 1.174 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.31e-05/1.037, allocations: 0 / 1.174 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004513/1.038, allocations: 149.6 kB / 1.174 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.619e-05/1.038, allocations: 88.5 kB / 1.174 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/1.053, allocations: 6.673 MB / 1.181 GB, free: 8.527 MB / 0.7136 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.03619/1.09, allocations: 17.15 MB / 1.197 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/1.101, allocations: 4.488 MB / 1.202 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/1.102, allocations: 0.6816 MB / 1.202 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006763/1.108, allocations: 2.604 MB / 1.205 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=313): time 5.931e-06/1.109, allocations: 0 / 1.205 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=313): time 0.02833/1.137, allocations: 9.348 MB / 1.214 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001957/1.137, allocations: 214.4 kB / 1.214 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005334/1.142, allocations: 2.633 MB / 1.217 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0008632/1.143, allocations: 85.7 kB / 1.217 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001803/1.145, allocations: 1.532 MB / 1.218 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001929/1.147, allocations: 1.043 MB / 1.219 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005751/1.148, allocations: 55.94 kB / 1.22 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003239/1.148, allocations: 419.5 kB / 1.22 GB, free: 244 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005372/1.153, allocations: 2.066 MB / 1.222 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005536/1.159, allocations: 2.415 MB / 1.224 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005566/1.165, allocations: 2.257 MB / 1.227 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/1.165, allocations: 4 kB / 1.227 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.01461/1.179, allocations: 5.552 MB / 1.232 GB, free: 3.789 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/1.179, allocations: 13.98 kB / 1.232 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.179, allocations: 4 kB / 1.232 GB, free: 3.773 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/1.181, allocations: 0.8399 MB / 1.233 GB, free: 2.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004043/1.185, allocations: 0.7527 MB / 1.234 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/1.197, allocations: 7.212 MB / 1.241 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005025/1.202, allocations: 0.5478 MB / 1.241 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009766/1.203, allocations: 119.9 kB / 1.241 GB, free: 10.16 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (281): * Single equations (assignments): 280 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003432/1.207, allocations: 1.011 MB / 1.242 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/1.208, allocations: 308.2 kB / 1.242 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/1.224, allocations: 6.18 MB / 1.249 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/1.224, allocations: 32 kB / 1.249 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.838e-05/1.224, allocations: 15.95 kB / 1.249 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.229e-05/1.224, allocations: 15.94 kB / 1.249 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02442/1.248, allocations: 10.48 MB / 1.259 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/1.249, allocations: 0 / 1.259 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003923/1.252, allocations: 0.7255 MB / 1.26 GB, free: 7.207 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002008/1.254, allocations: 0.7301 MB / 1.26 GB, free: 6.465 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005411/1.255, allocations: 95.81 kB / 1.26 GB, free: 6.371 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/1.269, allocations: 10.01 MB / 1.27 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.269, allocations: 0 / 1.27 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02257/1.292, allocations: 8.747 MB / 1.279 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003532/1.295, allocations: 0.9296 MB / 1.28 GB, free: 2.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001419/1.297, allocations: 75.94 kB / 1.28 GB, free: 2.074 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004049/1.301, allocations: 399.3 kB / 1.28 GB, free: 1.684 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007554/1.302, allocations: 214.2 kB / 1.28 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005382/1.302, allocations: 107.9 kB / 1.28 GB, free: 1.367 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003884/1.306, allocations: 1.911 MB / 1.282 GB, free: 15.45 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.7e-07/1.306, allocations: 0 / 1.282 GB, free: 15.45 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005302/1.311, allocations: 1.198 MB / 1.283 GB, free: 14.25 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[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 (267): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002807/1.314, allocations: 1.005 MB / 1.284 GB, free: 13.49 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01325/1.327, allocations: 5.286 MB / 1.289 GB, free: 8.168 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.328, allocations: 0 / 1.289 GB, free: 8.168 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00745/1.335, allocations: 3.223 MB / 1.293 GB, free: 4.898 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004138/1.339, allocations: 0.6675 MB / 1.293 GB, free: 4.242 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02296/1.362, allocations: 10.29 MB / 1.303 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004785/1.367, allocations: 2.745 MB / 1.306 GB, free: 7.125 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.006584/1.374, allocations: 1.147 MB / 1.307 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002097/1.376, allocations: 279.2 kB / 1.307 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of SimCode: time 1.272e-06/1.376, allocations: 0 / 1.307 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of Templates: time 0.09434/1.47, allocations: 49.92 MB / 1.356 GB, free: 4.008 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)