Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.742/1.742, allocations: 251.9 MB / 0.51 GB, free: 4.832 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005892/0.0005893, allocations: 12 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.651/0.6516, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1838/0.8354, allocations: 137.7 MB / 0.8625 GB, free: 1.332 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03776/0.8733, allocations: 23.09 MB / 0.885 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004077/0.8774, allocations: 71.62 kB / 0.8851 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003552/0.881, allocations: 1.042 MB / 0.8861 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.009179/0.8902, allocations: 2.285 MB / 0.8883 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006778/0.897, allocations: 1.818 MB / 0.8901 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008649/0.9057, allocations: 3.594 MB / 0.8936 GB, free: 1.41 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005808/0.9115, allocations: 3.277 MB / 0.8968 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003579/0.9151, allocations: 1.494 MB / 0.8983 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003673/0.9188, allocations: 1.899 MB / 0.9001 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008971/0.9198, allocations: 136 kB / 0.9002 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.9227, allocations: 0.5541 MB / 0.9008 GB, free: 9.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.9237, allocations: 0.8367 MB / 0.9016 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001376/0.9251, allocations: 0.7416 MB / 0.9023 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007112/0.9322, allocations: 4.988 MB / 0.9072 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.9323, allocations: 0 / 0.9072 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.295e-06/0.9323, allocations: 3.938 kB / 0.9072 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000264/0.9325, allocations: 4 kB / 0.9072 GB, free: 3.395 MB / 0.7169 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.561/1.494, allocations: 4.303 MB / 0.9114 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/1.494, allocations: 9.25 kB / 0.9114 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/1.51, allocations: 2.758 MB / 0.9141 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/1.522, allocations: 2.378 MB / 0.9164 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004441/1.522, allocations: 275.6 kB / 0.9167 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001779/1.524, allocations: 363.2 kB / 0.917 GB, free: 174.4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02142/1.545, allocations: 5.534 MB / 0.9224 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/1.546, allocations: 5.312 kB / 0.9225 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000469/1.546, allocations: 151.6 kB / 0.9226 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002086/1.546, allocations: 89.31 kB / 0.9227 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01594/1.562, allocations: 6.667 MB / 0.9292 GB, free: 168.5 MB / 0.7169 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.03187/1.594, allocations: 17.13 MB / 0.9459 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008034/1.602, allocations: 4.506 MB / 0.9503 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007714/1.603, allocations: 0.67 MB / 0.951 GB, free: 145.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004783/1.608, allocations: 2.609 MB / 0.9535 GB, free: 143 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=313): time 5.34e-06/1.608, allocations: 0 / 0.9535 GB, free: 143 MB / 0.7169 GB Notification: Performance of matching and sorting (n=313): time 0.02211/1.63, allocations: 9.345 MB / 0.9627 GB, free: 133.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.63, allocations: 218.4 kB / 0.9629 GB, free: 133.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003643/1.634, allocations: 2.641 MB / 0.9654 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008835/1.635, allocations: 77.7 kB / 0.9655 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001519/1.636, allocations: 1.528 MB / 0.967 GB, free: 129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001633/1.638, allocations: 1.049 MB / 0.968 GB, free: 127.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/1.638, allocations: 56 kB / 0.9681 GB, free: 127.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.638, allocations: 415.5 kB / 0.9685 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0042/1.642, allocations: 2.066 MB / 0.9705 GB, free: 125.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004666/1.647, allocations: 2.415 MB / 0.9729 GB, free: 122.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004663/1.652, allocations: 2.26 MB / 0.9751 GB, free: 120.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/1.652, allocations: 0 / 0.9751 GB, free: 120.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.01247/1.664, allocations: 5.552 MB / 0.9805 GB, free: 115 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/1.664, allocations: 8.406 kB / 0.9805 GB, free: 115 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/1.664, allocations: 15.94 kB / 0.9805 GB, free: 115 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/1.666, allocations: 0.8319 MB / 0.9813 GB, free: 114.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00398/1.67, allocations: 0.7644 MB / 0.9821 GB, free: 113.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009442/1.68, allocations: 7.2 MB / 0.9891 GB, free: 106.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005221/1.685, allocations: 0.5478 MB / 0.9896 GB, free: 105.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009178/1.686, allocations: 116 kB / 0.9897 GB, free: 105.4 MB / 0.7169 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.003182/1.689, allocations: 1.012 MB / 0.9907 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.69, allocations: 308.1 kB / 0.991 GB, free: 104.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.703, allocations: 6.192 MB / 0.9971 GB, free: 97.81 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/1.703, allocations: 32 kB / 0.9971 GB, free: 97.78 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/1.703, allocations: 15.98 kB / 0.9971 GB, free: 97.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-05/1.703, allocations: 15.91 kB / 0.9971 GB, free: 97.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02052/1.723, allocations: 10.46 MB / 1.007 GB, free: 87.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.724, allocations: 0 / 1.007 GB, free: 87.24 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003539/1.727, allocations: 0.7293 MB / 1.008 GB, free: 86.51 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/1.729, allocations: 0.7341 MB / 1.009 GB, free: 85.76 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003372/1.729, allocations: 87.89 kB / 1.009 GB, free: 85.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009545/1.739, allocations: 10.01 MB / 1.019 GB, free: 75.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.739, allocations: 7.984 kB / 1.019 GB, free: 75.24 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/1.757, allocations: 8.749 MB / 1.027 GB, free: 66.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003658/1.76, allocations: 0.9374 MB / 1.028 GB, free: 65.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001495/1.762, allocations: 56 kB / 1.028 GB, free: 65.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004003/1.766, allocations: 416.1 kB / 1.029 GB, free: 64.99 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006836/1.767, allocations: 206.3 kB / 1.029 GB, free: 64.79 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005058/1.767, allocations: 103.9 kB / 1.029 GB, free: 64.69 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004064/1.771, allocations: 1.912 MB / 1.031 GB, free: 62.77 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.21e-07/1.771, allocations: 3.938 kB / 1.031 GB, free: 62.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005517/1.777, allocations: 1.205 MB / 1.032 GB, free: 61.58 MB / 0.7169 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.002926/1.78, allocations: 0.9973 MB / 1.033 GB, free: 60.96 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0128/1.793, allocations: 5.288 MB / 1.038 GB, free: 55.64 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.793, allocations: 192 / 1.038 GB, free: 55.64 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007189/1.8, allocations: 3.219 MB / 1.041 GB, free: 52.38 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005129/1.805, allocations: 0.6635 MB / 1.042 GB, free: 51.72 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02273/1.828, allocations: 10.3 MB / 1.052 GB, free: 41.39 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003933/1.832, allocations: 2.755 MB / 1.055 GB, free: 38.61 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004902/1.837, allocations: 1.145 MB / 1.056 GB, free: 37.46 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/1.838, allocations: 271.3 kB / 1.056 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of SimCode: time 1.754e-06/1.838, allocations: 0 / 1.056 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.09589/1.934, allocations: 49.94 MB / 1.105 GB, free: 3.703 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1) Environment - environmentSimulation: