Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,fileNamePrefix="IDEAS_dev_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.001365/0.001365, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001475/0.001475, allocations: 195.1 kB / 16.25 MB, free: 6.629 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9997/0.9997, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 72.55 kB / 0.5049 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1832, allocations: 80.93 MB / 0.584 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5307/0.714, allocations: 199.4 MB / 0.7787 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02188/0.7359, allocations: 14.93 MB / 0.7933 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00319/0.7391, allocations: 87.5 kB / 0.7934 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.7415, allocations: 1.159 MB / 0.7945 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005924/0.7475, allocations: 2.432 MB / 0.7969 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004266/0.7518, allocations: 1.975 MB / 0.7988 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00787/0.7597, allocations: 6.68 MB / 0.8054 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005819/0.7655, allocations: 5.521 MB / 0.8107 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003554/0.7691, allocations: 2.624 MB / 0.8133 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005341/0.7744, allocations: 3.19 MB / 0.8164 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008764/0.7753, allocations: 0.5703 MB / 0.817 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.779, allocations: 1.97 MB / 0.8189 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.7803, allocations: 1.617 MB / 0.8205 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002723/0.7831, allocations: 2.659 MB / 0.8231 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008077/0.7911, allocations: 7.708 MB / 0.8306 GB, free: 492 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.7912, allocations: 7.938 kB / 0.8306 GB, free: 484 kB / 0.6387 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7912, allocations: 0 / 0.8306 GB, free: 484 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001457/0.7913, allocations: 0 / 0.8306 GB, free: 484 kB / 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.01089/0.8022, allocations: 5.614 MB / 0.8361 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.8023, allocations: 8.031 kB / 0.8361 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006312/0.8029, allocations: 0.5634 MB / 0.8367 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/0.8172, allocations: 3.001 MB / 0.8396 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006123/0.8233, allocations: 2.686 MB / 0.8422 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.8236, allocations: 316.2 kB / 0.8425 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008497/0.8245, allocations: 404 kB / 0.8429 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/0.8372, allocations: 6.222 MB / 0.849 GB, free: 13.39 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.008e-05/0.8373, allocations: 0 / 0.849 GB, free: 13.39 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004427/0.8378, allocations: 179.9 kB / 0.8491 GB, free: 13.21 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/0.8379, allocations: 140 kB / 0.8493 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.8542, allocations: 7.337 MB / 0.8564 GB, free: 5.711 MB / 0.67 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.3026/1.157, allocations: 18.86 MB / 0.8749 GB, free: 207.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008873/1.166, allocations: 4.807 MB / 0.8795 GB, free: 205.5 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005495/1.171, allocations: 3.168 MB / 0.8826 GB, free: 204.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009096/1.172, allocations: 0.7008 MB / 0.8833 GB, free: 203.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005635/1.178, allocations: 2.931 MB / 0.8862 GB, free: 203 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 6.953e-06/1.178, allocations: 3.984 kB / 0.8862 GB, free: 203 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.04573/1.224, allocations: 16.23 MB / 0.902 GB, free: 197.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.224, allocations: 222 kB / 0.9023 GB, free: 197.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006436/1.23, allocations: 2.895 MB / 0.9051 GB, free: 196.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008106/1.231, allocations: 94.2 kB / 0.9052 GB, free: 196.1 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001786/1.233, allocations: 1.696 MB / 0.9068 GB, free: 194.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001686/1.235, allocations: 1.149 MB / 0.908 GB, free: 193.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002379/1.237, allocations: 0.5647 MB / 0.9085 GB, free: 193.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.324e-05/1.237, allocations: 313 kB / 0.9088 GB, free: 193.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005903/1.243, allocations: 2.311 MB / 0.9111 GB, free: 192.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006295/1.249, allocations: 2.688 MB / 0.9137 GB, free: 191.8 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.3324/1.582, allocations: 86.65 MB / 0.9983 GB, free: 121.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.582, allocations: 0 / 0.9983 GB, free: 121.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01274/1.594, allocations: 6.146 MB / 1.004 GB, free: 115.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/1.595, allocations: 37.78 kB / 1.004 GB, free: 115.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.595, allocations: 4 kB / 1.004 GB, free: 115.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/1.596, allocations: 0.8239 MB / 1.005 GB, free: 114.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004169/1.6, allocations: 0.8502 MB / 1.006 GB, free: 113.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008045/1.608, allocations: 7.518 MB / 1.013 GB, free: 106 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004382/1.613, allocations: 484.7 kB / 1.014 GB, free: 105.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000454/1.613, allocations: 119.9 kB / 1.014 GB, free: 105.4 MB / 0.67 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.002068/1.615, allocations: 1.133 MB / 1.015 GB, free: 104.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007318/1.616, allocations: 347.3 kB / 1.015 GB, free: 104 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/1.628, allocations: 6.772 MB / 1.022 GB, free: 97.13 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/1.628, allocations: 32 kB / 1.022 GB, free: 97.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/1.628, allocations: 12 kB / 1.022 GB, free: 97.09 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01034/1.639, allocations: 5.917 MB / 1.028 GB, free: 91.05 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01947/1.658, allocations: 11.74 MB / 1.039 GB, free: 79.24 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.658, allocations: 4 kB / 1.039 GB, free: 79.24 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003834/1.662, allocations: 0.8585 MB / 1.04 GB, free: 78.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/1.664, allocations: 0.702 MB / 1.041 GB, free: 77.67 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000341/1.664, allocations: 95.94 kB / 1.041 GB, free: 77.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008386/1.672, allocations: 10.06 MB / 1.051 GB, free: 67.11 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.672, allocations: 4 kB / 1.051 GB, free: 67.11 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/1.689, allocations: 9.804 MB / 1.06 GB, free: 57.17 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/1.691, allocations: 0.9183 MB / 1.061 GB, free: 56.23 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005878/1.692, allocations: 83.77 kB / 1.061 GB, free: 56.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003261/1.695, allocations: 469.3 kB / 1.062 GB, free: 55.69 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005213/1.696, allocations: 258.2 kB / 1.062 GB, free: 55.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002466/1.696, allocations: 115.9 kB / 1.062 GB, free: 55.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002168/1.698, allocations: 2.107 MB / 1.064 GB, free: 53.21 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.698, allocations: 0 / 1.064 GB, free: 53.21 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002971/1.701, allocations: 1.103 MB / 1.065 GB, free: 52.13 MB / 0.67 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.01844/1.72, allocations: 11.32 MB / 1.076 GB, free: 41.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02255/1.742, allocations: 10.35 MB / 1.086 GB, free: 30.75 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.742, allocations: 0.5 kB / 1.086 GB, free: 30.75 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006434/1.749, allocations: 3.556 MB / 1.09 GB, free: 27.16 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005239/1.754, allocations: 1.022 MB / 1.091 GB, free: 26.19 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3782/2.132, allocations: 43.31 MB / 1.133 GB, free: 198.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002579/2.135, allocations: 2.926 MB / 1.136 GB, free: 197.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005116/2.14, allocations: 1.279 MB / 1.137 GB, free: 197.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002469/2.142, allocations: 1.813 MB / 1.139 GB, free: 196.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.172e-06/2.142, allocations: 0.9688 kB / 1.139 GB, free: 196.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8317/2.974, allocations: 91.69 MB / 1.229 GB, free: 141.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/2.974, allocations: 304.1 kB / 1.229 GB, free: 141.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.03/8.005, allocations: 0 / 1.229 GB, free: 141.3 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)