Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.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.SimpleRoomFourElementsTraceSubstance,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance",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.001311/0.001311, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001229, allocations: 198 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.777/0.777, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 60.11 kB / 0.5019 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.491, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.2458/0.7369, allocations: 202.1 MB / 0.7775 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03139/0.7683, allocations: 15.15 MB / 0.7923 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00626/0.7747, allocations: 95.5 kB / 0.7924 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004015/0.7787, allocations: 1.289 MB / 0.7937 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009816/0.7886, allocations: 2.661 MB / 0.7963 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006968/0.7956, allocations: 2.18 MB / 0.7984 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01111/0.8067, allocations: 6.668 MB / 0.8049 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.8179, allocations: 5.522 MB / 0.8103 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006036/0.8239, allocations: 2.613 MB / 0.8129 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4885/1.312, allocations: 3.086 MB / 0.8159 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002947/1.315, allocations: 0.57 MB / 0.8164 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006975/1.322, allocations: 1.917 MB / 0.8183 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003589/1.326, allocations: 1.619 MB / 0.8199 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.008152/1.334, allocations: 2.651 MB / 0.8225 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0155/1.35, allocations: 7.631 MB / 0.8299 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.35, allocations: 1.469 kB / 0.8299 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.444e-06/1.35, allocations: 0 / 0.8299 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003754/1.35, allocations: 2.469 kB / 0.8299 GB, free: 11.61 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.02381/1.374, allocations: 5.622 MB / 0.8354 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/1.374, allocations: 13.81 kB / 0.8354 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002045/1.376, allocations: 0.5612 MB / 0.836 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01573/1.392, allocations: 2.989 MB / 0.8389 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006873/1.399, allocations: 2.69 MB / 0.8415 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003009/1.399, allocations: 309 kB / 0.8418 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002226/1.401, allocations: 407.1 kB / 0.8422 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01902/1.42, allocations: 6.222 MB / 0.8483 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001461/1.421, allocations: 5.719 kB / 0.8483 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008181/1.421, allocations: 172.2 kB / 0.8484 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/1.422, allocations: 140.9 kB / 0.8486 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02068/1.442, allocations: 7.326 MB / 0.8557 GB, free: 8.043 MB / 0.6387 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.04886/1.491, allocations: 18.91 MB / 0.8742 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/1.503, allocations: 4.805 MB / 0.8789 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007544/1.511, allocations: 3.171 MB / 0.882 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/1.512, allocations: 0.6983 MB / 0.8827 GB, free: 208 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01051/1.523, allocations: 3.057 MB / 0.8857 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=345): time 1.188e-05/1.523, allocations: 3.984 kB / 0.8857 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=347): time 0.05925/1.582, allocations: 16.24 MB / 0.9015 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/1.582, allocations: 222.7 kB / 0.9017 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006622/1.589, allocations: 2.899 MB / 0.9046 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001541/1.591, allocations: 93.7 kB / 0.9047 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002524/1.593, allocations: 1.691 MB / 0.9063 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002775/1.596, allocations: 1.151 MB / 0.9074 GB, free: 15.53 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003789/1.6, allocations: 0.5649 MB / 0.908 GB, free: 14.95 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.6, allocations: 301.1 kB / 0.9083 GB, free: 14.66 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006988/1.607, allocations: 2.314 MB / 0.9105 GB, free: 12.34 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007385/1.614, allocations: 2.687 MB / 0.9132 GB, free: 9.578 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start (sinAir.p = thermalZoneFourElements.volAir.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.3664/1.981, allocations: 86.64 MB / 0.9978 GB, free: 2.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.981, allocations: 0 / 0.9978 GB, free: 2.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.016/1.997, allocations: 6.15 MB / 1.004 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.569e-05/1.997, allocations: 33.8 kB / 1.004 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.997, allocations: 8 kB / 1.004 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001887/1.999, allocations: 0.82 MB / 1.005 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004769/2.004, allocations: 0.8578 MB / 1.005 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/2.015, allocations: 7.52 MB / 1.013 GB, free: 3.281 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005078/2.02, allocations: 437.4 kB / 1.013 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006316/2.021, allocations: 119.9 kB / 1.013 GB, free: 2.738 MB / 0.7637 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.intGai.nextTimeEvent,$whenCondition2,$PRE.traSub.count,$PRE.traSub.T_start,traSub.count,traSub.T_start,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002772/2.023, allocations: 1.137 MB / 1.014 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009146/2.024, allocations: 343.8 kB / 1.015 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01584/2.04, allocations: 6.766 MB / 1.021 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.042e-05/2.04, allocations: 32 kB / 1.021 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/2.04, allocations: 12 kB / 1.021 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01362/2.054, allocations: 5.924 MB / 1.027 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0298/2.084, allocations: 11.73 MB / 1.039 GB, free: 8.676 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-05/2.084, allocations: 7.938 kB / 1.039 GB, free: 8.668 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005051/2.089, allocations: 0.8516 MB / 1.04 GB, free: 7.844 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/2.091, allocations: 0.7049 MB / 1.04 GB, free: 7.133 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009165/2.092, allocations: 95.94 kB / 1.04 GB, free: 7.039 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01315/2.105, allocations: 10.06 MB / 1.05 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/2.105, allocations: 7.281 kB / 1.05 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02461/2.13, allocations: 9.798 MB / 1.06 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003208/2.133, allocations: 0.9181 MB / 1.061 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001722/2.134, allocations: 79.83 kB / 1.061 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004682/2.139, allocations: 423.4 kB / 1.061 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/2.14, allocations: 253.3 kB / 1.061 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008019/2.141, allocations: 128 kB / 1.061 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.005313/2.146, allocations: 2.103 MB / 1.063 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.744e-06/2.146, allocations: 0 / 1.063 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.007639/2.154, allocations: 1.101 MB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.mXi[1],thermalZoneFourElements.volAir.dynBal.mC[1],thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled,traSub.T_start,traSub.count) * Number of discrete states: 5 (intGai.nextTimeEvent,traSub.count,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0301/2.184, allocations: 11.32 MB / 1.076 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02806/2.212, allocations: 10.33 MB / 1.086 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/2.212, allocations: 0 / 1.086 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.009594/2.222, allocations: 3.555 MB / 1.089 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008615/2.231, allocations: 1.027 MB / 1.09 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4124/2.643, allocations: 41.64 MB / 1.131 GB, free: 419.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00236/2.646, allocations: 2.924 MB / 1.134 GB, free: 418.3 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.004913/2.65, allocations: 1.277 MB / 1.135 GB, free: 418.3 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002808/2.653, allocations: 1.81 MB / 1.137 GB, free: 416.9 MB / 0.8575 GB Notification: Performance of SimCode: time 1.393e-06/2.653, allocations: 0 / 1.137 GB, free: 416.9 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/2.783, allocations: 91.99 MB / 1.227 GB, free: 333.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/15.23, allocations: 5.688 kB / 1.227 GB, free: 333.7 MB / 0.8575 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)