Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.92/1.92, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001505/0.001505, allocations: 179.1 kB / 371.8 MB, free: 10.26 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.828/1.828, allocations: 205.4 MB / 0.6305 GB, free: 9.977 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.0009/0.0009, allocations: 85.16 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005024/0.0005024, allocations: 11.62 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3116, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.9203/1.232, allocations: 135.4 MB / 1.112 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03871/1.271, allocations: 22.19 MB / 1.133 GB, free: 108 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00477/1.276, allocations: 57.06 kB / 1.133 GB, free: 84 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003189/1.279, allocations: 0.9491 MB / 1.134 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008952/1.288, allocations: 2.014 MB / 1.136 GB, free: 15.72 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006639/1.294, allocations: 1.587 MB / 1.138 GB, free: 15.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007493/1.302, allocations: 2.709 MB / 1.14 GB, free: 14.7 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006351/1.308, allocations: 2.742 MB / 1.143 GB, free: 13.61 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/1.312, allocations: 1.233 MB / 1.144 GB, free: 13.12 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003994/1.316, allocations: 1.526 MB / 1.146 GB, free: 12.42 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001386/1.317, allocations: 97.31 kB / 1.146 GB, free: 12.42 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004377/1.322, allocations: 0.5127 MB / 1.146 GB, free: 12.33 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001968/1.324, allocations: 0.6593 MB / 1.147 GB, free: 12.02 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002187/1.326, allocations: 0.5927 MB / 1.148 GB, free: 11.87 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007711/1.333, allocations: 4.017 MB / 1.152 GB, free: 9.512 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/1.334, allocations: 1.594 kB / 1.152 GB, free: 9.512 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.218e-06/1.334, allocations: 0 / 1.152 GB, free: 9.512 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003099/1.334, allocations: 0 / 1.152 GB, free: 9.512 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: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.01286/1.347, allocations: 3.648 MB / 1.155 GB, free: 7.277 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/1.347, allocations: 13.11 kB / 1.155 GB, free: 7.273 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00165/1.348, allocations: 424.4 kB / 1.156 GB, free: 7.148 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/1.362, allocations: 2.68 MB / 1.158 GB, free: 5.918 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008012/1.371, allocations: 2.055 MB / 1.16 GB, free: 4.691 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003466/1.371, allocations: 223.7 kB / 1.16 GB, free: 4.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/1.372, allocations: 304.3 kB / 1.161 GB, free: 4.484 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/1.385, allocations: 4.777 MB / 1.165 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.019e-05/1.385, allocations: 2.844 kB / 1.165 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000371/1.386, allocations: 128 kB / 1.165 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-05/1.386, allocations: 72.38 kB / 1.166 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/1.401, allocations: 5.917 MB / 1.171 GB, free: 14.75 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.03107/1.432, allocations: 13.39 MB / 1.184 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/1.443, allocations: 4.418 MB / 1.189 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/1.444, allocations: 0.6696 MB / 1.189 GB, free: 36 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005283/1.449, allocations: 2.265 MB / 1.192 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=255): time 8.897e-06/1.449, allocations: 0 / 1.192 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=255): time 0.01731/1.467, allocations: 6.662 MB / 1.198 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/1.467, allocations: 209.9 kB / 1.198 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003954/1.471, allocations: 2.297 MB / 1.201 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006944/1.471, allocations: 65.7 kB / 1.201 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001418/1.473, allocations: 1.286 MB / 1.202 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001311/1.474, allocations: 0.8355 MB / 1.203 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/1.474, allocations: 48 kB / 1.203 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002123/1.475, allocations: 398.4 kB / 1.203 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004403/1.479, allocations: 1.78 MB / 1.205 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004663/1.484, allocations: 2.082 MB / 1.207 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004582/1.488, allocations: 1.927 MB / 1.209 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/1.488, allocations: 4 kB / 1.209 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01112/1.499, allocations: 4.467 MB / 1.213 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.424e-05/1.5, allocations: 11.95 kB / 1.213 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/1.5, allocations: 4 kB / 1.213 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006903/1.5, allocations: 235.8 kB / 1.213 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/1.504, allocations: 0.7605 MB / 1.214 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004396/1.508, allocations: 3.178 MB / 1.217 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004304/1.513, allocations: 0.4897 MB / 1.218 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005205/1.513, allocations: 95.92 kB / 1.218 GB, free: 2.367 MB / 0.7448 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 (262): * Single equations (assignments): 261 * 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 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003192/1.517, allocations: 0.8875 MB / 1.219 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/1.518, allocations: 256.8 kB / 1.219 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/1.533, allocations: 5.078 MB / 1.224 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.284e-05/1.533, allocations: 24 kB / 1.224 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.613e-05/1.533, allocations: 4 kB / 1.224 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.193e-05/1.533, allocations: 23.89 kB / 1.224 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02485/1.558, allocations: 8.58 MB / 1.232 GB, free: 3.309 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/1.558, allocations: 0 / 1.232 GB, free: 3.309 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004299/1.562, allocations: 0.7216 MB / 1.233 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009611/1.563, allocations: 263.9 kB / 1.233 GB, free: 2.32 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007043/1.564, allocations: 75.94 kB / 1.233 GB, free: 2.246 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005599/1.57, allocations: 4.867 MB / 1.238 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.57, allocations: 0 / 1.238 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02215/1.592, allocations: 7.216 MB / 1.245 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003747/1.596, allocations: 0.8208 MB / 1.246 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001659/1.597, allocations: 52 kB / 1.246 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004426/1.602, allocations: 379.4 kB / 1.246 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008728/1.603, allocations: 161.9 kB / 1.246 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007553/1.603, allocations: 91.92 kB / 1.247 GB, free: 4.258 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00459/1.608, allocations: 1.676 MB / 1.248 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.174e-06/1.608, allocations: 0 / 1.248 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005835/1.614, allocations: 0.9484 MB / 1.249 GB, free: 1.617 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (248): * Single equations (assignments): 241 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02319/1.637, allocations: 8.652 MB / 1.258 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01385/1.651, allocations: 4.346 MB / 1.262 GB, free: 4.73 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.651, allocations: 0 / 1.262 GB, free: 4.73 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00719/1.658, allocations: 2.498 MB / 1.264 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004278/1.663, allocations: 0.5368 MB / 1.265 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07017/1.733, allocations: 25.49 MB / 1.29 GB, free: 6.914 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004103/1.737, allocations: 2.412 MB / 1.292 GB, free: 4.465 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00673/1.744, allocations: 1.097 MB / 1.293 GB, free: 3.371 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004148/1.748, allocations: 1.35 MB / 1.294 GB, free: 2.02 MB / 0.823 GB Notification: Performance of SimCode: time 1.833e-06/1.748, allocations: 0 / 1.294 GB, free: 2.02 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1297/1.878, allocations: 64.69 MB / 1.358 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/1.878, allocations: 279.9 kB / 1.358 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.389/6.267, allocations: 12.06 kB / 1.358 GB, free: 1.301 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)