Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",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.733/1.733, allocations: 288.2 MB / 303.2 MB, free: 8.156 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.00115/0.00115, allocations: 185 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.864/1.864, allocations: 205.4 MB / 0.6305 GB, free: 9.988 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.0009046/0.0009047, allocations: 94.8 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004314, allocations: 18.53 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3165, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.9283/1.245, allocations: 136.7 MB / 1.113 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04156/1.287, allocations: 22.64 MB / 1.135 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005507/1.292, allocations: 66.62 kB / 1.135 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003633/1.296, allocations: 0.9919 MB / 1.136 GB, free: 15.79 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01148/1.307, allocations: 2.171 MB / 1.138 GB, free: 15.35 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009062/1.316, allocations: 1.689 MB / 1.14 GB, free: 14.92 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008529/1.325, allocations: 3.147 MB / 1.143 GB, free: 13.79 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005398/1.33, allocations: 3.03 MB / 1.146 GB, free: 12.59 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003639/1.334, allocations: 1.367 MB / 1.147 GB, free: 12.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003749/1.338, allocations: 1.725 MB / 1.149 GB, free: 11.29 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005566/1.338, allocations: 123.8 kB / 1.149 GB, free: 11.29 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/1.341, allocations: 0.5315 MB / 1.15 GB, free: 11.2 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008441/1.342, allocations: 0.7504 MB / 1.15 GB, free: 10.86 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00151/1.343, allocations: 0.6818 MB / 1.151 GB, free: 10.63 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006783/1.35, allocations: 4.571 MB / 1.155 GB, free: 7.391 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.35, allocations: 0 / 1.155 GB, free: 7.391 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.907e-06/1.35, allocations: 0 / 1.155 GB, free: 7.391 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002863/1.35, allocations: 3.312 kB / 1.155 GB, free: 7.391 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: 860 * Number of variables: 860 Notification: Performance of Generate backend data structure: time 0.01265/1.363, allocations: 4.011 MB / 1.159 GB, free: 4.711 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/1.363, allocations: 13.69 kB / 1.159 GB, free: 4.707 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001389/1.364, allocations: 473.6 kB / 1.16 GB, free: 4.355 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/1.378, allocations: 2.726 MB / 1.162 GB, free: 3.094 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007218/1.385, allocations: 2.221 MB / 1.165 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/1.386, allocations: 249 kB / 1.165 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001645/1.387, allocations: 337.6 kB / 1.165 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01759/1.405, allocations: 5.197 MB / 1.17 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.55e-05/1.405, allocations: 4 kB / 1.17 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004256/1.406, allocations: 138.9 kB / 1.17 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-05/1.406, allocations: 80.22 kB / 1.17 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01693/1.423, allocations: 6.342 MB / 1.177 GB, free: 11.13 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.03649/1.459, allocations: 15.48 MB / 1.192 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/1.47, allocations: 4.088 MB / 1.196 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/1.471, allocations: 0.6697 MB / 1.196 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006894/1.478, allocations: 2.464 MB / 1.199 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=286): time 6.773e-06/1.478, allocations: 0 / 1.199 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of matching and sorting (n=286): time 0.02438/1.502, allocations: 8.041 MB / 1.207 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/1.503, allocations: 214.1 kB / 1.207 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005337/1.508, allocations: 2.496 MB / 1.209 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0009432/1.509, allocations: 77.7 kB / 1.209 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001798/1.511, allocations: 1.42 MB / 1.211 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001838/1.513, allocations: 0.9567 MB / 1.212 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006779/1.513, allocations: 48 kB / 1.212 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003452/1.514, allocations: 407 kB / 1.212 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005336/1.519, allocations: 1.945 MB / 1.214 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005774/1.525, allocations: 2.273 MB / 1.216 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005708/1.531, allocations: 2.11 MB / 1.218 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/1.531, allocations: 0 / 1.218 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01567/1.546, allocations: 5.086 MB / 1.223 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/1.546, allocations: 4 kB / 1.223 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/1.546, allocations: 4 kB / 1.223 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/1.548, allocations: 0.5572 MB / 1.224 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00446/1.553, allocations: 0.7332 MB / 1.225 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008727/1.561, allocations: 5.45 MB / 1.23 GB, free: 5.812 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004948/1.566, allocations: 0.5253 MB / 1.23 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009852/1.567, allocations: 107.9 kB / 1.23 GB, free: 5.18 MB / 0.7605 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 (272): * Single equations (assignments): 271 * 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 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004126/1.571, allocations: 0.9617 MB / 1.231 GB, free: 4.207 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001613/1.573, allocations: 282.3 kB / 1.232 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01908/1.592, allocations: 5.693 MB / 1.237 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.205e-05/1.592, allocations: 28 kB / 1.237 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.113e-05/1.592, allocations: 15.95 kB / 1.237 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.067e-05/1.592, allocations: 11.95 kB / 1.237 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02733/1.62, allocations: 9.641 MB / 1.247 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/1.62, allocations: 8 kB / 1.247 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004032/1.624, allocations: 0.7059 MB / 1.247 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/1.625, allocations: 0.5219 MB / 1.248 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005643/1.626, allocations: 75.92 kB / 1.248 GB, free: 3.047 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009412/1.635, allocations: 7.115 MB / 1.255 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.636, allocations: 4 kB / 1.255 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0214/1.657, allocations: 8.081 MB / 1.263 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003315/1.66, allocations: 0.8792 MB / 1.264 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/1.662, allocations: 59.98 kB / 1.264 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004004/1.666, allocations: 402.3 kB / 1.264 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006654/1.666, allocations: 198 kB / 1.264 GB, free: 1.914 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00041/1.667, allocations: 99.92 kB / 1.264 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.004551/1.671, allocations: 1.818 MB / 1.266 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.116e-06/1.671, allocations: 0 / 1.266 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.007052/1.678, allocations: 1.081 MB / 1.267 GB, free: 14.91 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (257): * Single equations (assignments): 250 * 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 {(4,100.0%) 36,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02393/1.702, allocations: 9.537 MB / 1.277 GB, free: 5.535 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01356/1.716, allocations: 4.87 MB / 1.281 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.716, allocations: 0 / 1.281 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.007552/1.724, allocations: 2.848 MB / 1.284 GB, free: 13.74 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004604/1.728, allocations: 0.617 MB / 1.285 GB, free: 13.13 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07201/1.8, allocations: 28.45 MB / 1.313 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0049/1.805, allocations: 2.604 MB / 1.315 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.007121/1.813, allocations: 1.115 MB / 1.316 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004693/1.817, allocations: 1.503 MB / 1.318 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of SimCode: time 1.583e-06/1.817, allocations: 0 / 1.318 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1558/1.973, allocations: 73.21 MB / 1.389 GB, free: 1.309 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/1.973, allocations: 287.2 kB / 1.389 GB, free: 0.9492 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.754/6.728, allocations: 64 / 1.389 GB, free: 0.9492 MB / 0.9167 GB (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)