Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 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: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 99.39 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.001919/0.001919, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.597/2.597, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.282/1.282, allocations: 132.3 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005559/0.000556, allocations: 8 kB / 0.5033 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9279/0.9285, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.3046/1.233, allocations: 136.7 MB / 0.7165 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.05438/1.288, allocations: 23.02 MB / 0.7389 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005606/1.293, allocations: 67.62 kB / 0.739 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005345/1.299, allocations: 0.9878 MB / 0.74 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01325/1.312, allocations: 2.222 MB / 0.7421 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008951/1.321, allocations: 1.731 MB / 0.7438 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01204/1.333, allocations: 3.179 MB / 0.7469 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008554/1.342, allocations: 3.129 MB / 0.75 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005385/1.347, allocations: 1.389 MB / 0.7513 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005248/1.353, allocations: 1.739 MB / 0.753 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001643/1.354, allocations: 120 kB / 0.7532 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004301/1.359, allocations: 0.5969 MB / 0.7537 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00175/1.36, allocations: 0.751 MB / 0.7545 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001904/1.362, allocations: 0.6832 MB / 0.7551 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01096/1.373, allocations: 4.668 MB / 0.7597 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.373, allocations: 0 / 0.7597 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.088e-06/1.373, allocations: 4 kB / 0.7597 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002807/1.374, allocations: 0 / 0.7597 GB, free: 11.21 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01772/1.391, allocations: 4.061 MB / 0.7637 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 9.822e-05/1.392, allocations: 12.02 kB / 0.7637 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00368/1.395, allocations: 480.6 kB / 0.7641 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02242/1.418, allocations: 2.912 MB / 0.767 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009672/1.427, allocations: 2.254 MB / 0.7692 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004942/1.428, allocations: 258.9 kB / 0.7694 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001804/1.43, allocations: 336 kB / 0.7698 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02386/1.454, allocations: 5.385 MB / 0.775 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/1.454, allocations: 0 / 0.775 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001321/1.455, allocations: 140 kB / 0.7751 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/1.455, allocations: 84 kB / 0.7752 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02896/1.484, allocations: 6.59 MB / 0.7817 GB, free: 4.473 MB / 0.6075 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.05521/1.54, allocations: 15.77 MB / 0.7971 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0168/1.557, allocations: 4.067 MB / 0.801 GB, free: 8 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001871/1.559, allocations: 0.6737 MB / 0.8017 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01055/1.569, allocations: 2.561 MB / 0.8042 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=288): time 1.224e-05/1.569, allocations: 0 / 0.8042 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288): time 0.04095/1.61, allocations: 8.342 MB / 0.8123 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002361/1.611, allocations: 214.2 kB / 0.8125 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006419/1.617, allocations: 2.517 MB / 0.815 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001473/1.619, allocations: 73.7 kB / 0.8151 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.7906/2.409, allocations: 1.434 MB / 0.8165 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003247/2.412, allocations: 0.9595 MB / 0.8174 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/2.413, allocations: 51.38 kB / 0.8175 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0004525/2.414, allocations: 404.8 kB / 0.8178 GB, free: 211 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00977/2.423, allocations: 2.036 MB / 0.8198 GB, free: 211 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01169/2.435, allocations: 2.349 MB / 0.8221 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/2.447, allocations: 2.204 MB / 0.8243 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.577e-05/2.447, allocations: 1.188 kB / 0.8243 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.02496/2.472, allocations: 5.264 MB / 0.8294 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.546e-05/2.472, allocations: 10.03 kB / 0.8294 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.044e-05/2.472, allocations: 4.125 kB / 0.8294 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/2.475, allocations: 0.5425 MB / 0.83 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006805/2.481, allocations: 0.7829 MB / 0.8307 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/2.495, allocations: 5.465 MB / 0.8361 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006936/2.502, allocations: 0.5725 MB / 0.8366 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/2.503, allocations: 111.4 kB / 0.8367 GB, free: 204.3 MB / 0.6387 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 (274): * Single equations (assignments): 273 * 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.004321/2.507, allocations: 0.9622 MB / 0.8377 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/2.508, allocations: 292.7 kB / 0.8379 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02224/2.531, allocations: 5.908 MB / 0.8437 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.072e-05/2.531, allocations: 27.59 kB / 0.8437 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/2.531, allocations: 7.812 kB / 0.8437 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-05/2.531, allocations: 15.94 kB / 0.8438 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03304/2.564, allocations: 9.906 MB / 0.8534 GB, free: 194.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-05/2.564, allocations: 0 / 0.8534 GB, free: 194.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006461/2.571, allocations: 0.7527 MB / 0.8542 GB, free: 194 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002378/2.573, allocations: 0.5222 MB / 0.8547 GB, free: 193.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001179/2.574, allocations: 79.94 kB / 0.8548 GB, free: 193.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/2.586, allocations: 7.111 MB / 0.8617 GB, free: 186 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/2.586, allocations: 2.484 kB / 0.8617 GB, free: 186 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02794/2.614, allocations: 8.381 MB / 0.8699 GB, free: 177.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005027/2.619, allocations: 0.8908 MB / 0.8708 GB, free: 176.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002077/2.621, allocations: 56 kB / 0.8708 GB, free: 176.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006525/2.627, allocations: 435.3 kB / 0.8712 GB, free: 176.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/2.629, allocations: 190.1 kB / 0.8714 GB, free: 176 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005266/2.629, allocations: 103.9 kB / 0.8715 GB, free: 175.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004238/2.633, allocations: 1.834 MB / 0.8733 GB, free: 174 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.21e-07/2.633, allocations: 0 / 0.8733 GB, free: 174 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006679/2.64, allocations: 1.112 MB / 0.8744 GB, free: 173 MB / 0.6387 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 (260): * Single equations (assignments): 253 * 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.03574/2.676, allocations: 9.884 MB / 0.884 GB, free: 163.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01761/2.694, allocations: 5.054 MB / 0.889 GB, free: 158.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/2.694, allocations: 0 / 0.889 GB, free: 158.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00949/2.703, allocations: 2.949 MB / 0.8919 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005847/2.709, allocations: 0.6117 MB / 0.8925 GB, free: 154.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08686/2.796, allocations: 29.07 MB / 0.9208 GB, free: 124.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00334/2.799, allocations: 2.629 MB / 0.9234 GB, free: 121.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.008494/2.808, allocations: 1.125 MB / 0.9245 GB, free: 120.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004583/2.813, allocations: 1.526 MB / 0.926 GB, free: 119.1 MB / 0.6387 GB Notification: Performance of SimCode: time 2.695e-06/2.813, allocations: 0 / 0.926 GB, free: 119.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1977/3.01, allocations: 74.39 MB / 0.9986 GB, free: 45.43 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/3.011, allocations: 262.6 kB / 0.9989 GB, free: 45.08 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.795/9.806, allocations: 0 / 0.9989 GB, free: 45.08 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1) Environment - environmentSimulation: