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.005145/0.005145, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001336/0.001336, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9219/0.9219, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 64.33 kB / 0.5809 GB, free: 24.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1862, allocations: 80.21 MB / 0.6592 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.6302/0.8165, allocations: 202.1 MB / 0.8566 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02778/0.8443, allocations: 15.12 MB / 0.8713 GB, free: 13 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004734/0.8491, allocations: 91.56 kB / 0.8714 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004153/0.8533, allocations: 1.305 MB / 0.8727 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008747/0.8621, allocations: 2.658 MB / 0.8753 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006463/0.8686, allocations: 2.187 MB / 0.8774 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01076/0.8794, allocations: 6.695 MB / 0.884 GB, free: 56 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008932/0.8884, allocations: 5.529 MB / 0.8894 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005889/0.8943, allocations: 2.617 MB / 0.8919 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006144/0.9005, allocations: 3.099 MB / 0.8949 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001924/0.9025, allocations: 0.5664 MB / 0.8955 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005534/0.908, allocations: 1.95 MB / 0.8974 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002651/0.9107, allocations: 1.613 MB / 0.899 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005745/0.9165, allocations: 2.651 MB / 0.9016 GB, free: 13.91 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.9309, allocations: 7.785 MB / 0.9092 GB, free: 6.098 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.931, allocations: 0 / 0.9092 GB, free: 6.098 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.134e-06/0.931, allocations: 0 / 0.9092 GB, free: 6.098 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002708/0.9313, allocations: 0 / 0.9092 GB, free: 6.098 MB / 0.67 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.016/0.9473, allocations: 5.774 MB / 0.9148 GB, free: 236 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.9473, allocations: 8.031 kB / 0.9148 GB, free: 228 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001475/0.9488, allocations: 0.5596 MB / 0.9154 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01605/0.9649, allocations: 3.035 MB / 0.9183 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006693/0.9716, allocations: 2.759 MB / 0.921 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/0.972, allocations: 312.2 kB / 0.9213 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/0.9736, allocations: 400 kB / 0.9217 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01809/0.9917, allocations: 6.226 MB / 0.9278 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.9919, allocations: 0 / 0.9278 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005867/0.9925, allocations: 175.9 kB / 0.9279 GB, free: 2.574 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000154/0.9926, allocations: 144 kB / 0.9281 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02062/1.013, allocations: 7.331 MB / 0.9352 GB, free: 11.08 MB / 0.7012 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.04457/1.058, allocations: 18.8 MB / 0.9536 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/1.07, allocations: 4.794 MB / 0.9583 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007575/1.078, allocations: 3.168 MB / 0.9614 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/1.079, allocations: 0.6973 MB / 0.9621 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007861/1.087, allocations: 2.94 MB / 0.9649 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 5.65e-06/1.087, allocations: 0 / 0.9649 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.05005/1.137, allocations: 16.31 MB / 0.9809 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/1.137, allocations: 218.6 kB / 0.9811 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005591/1.143, allocations: 2.896 MB / 0.9839 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001061/1.144, allocations: 85.7 kB / 0.984 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002522/1.146, allocations: 1.723 MB / 0.9857 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002054/1.148, allocations: 1.212 MB / 0.9868 GB, free: 5.027 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002281/1.151, allocations: 0.5689 MB / 0.9874 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.151, allocations: 301.1 kB / 0.9877 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006306/1.157, allocations: 2.32 MB / 0.99 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006953/1.164, allocations: 2.675 MB / 0.9926 GB, free: 15.07 MB / 0.7637 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.7158/1.88, allocations: 86.61 MB / 1.077 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.88, allocations: 0 / 1.077 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01382/1.894, allocations: 6.167 MB / 1.083 GB, free: 299.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.179e-05/1.894, allocations: 40.61 kB / 1.083 GB, free: 299.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/1.894, allocations: 3 kB / 1.083 GB, free: 299.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/1.896, allocations: 0.8177 MB / 1.084 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004408/1.9, allocations: 0.8513 MB / 1.085 GB, free: 299.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008992/1.909, allocations: 7.52 MB / 1.092 GB, free: 294.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004616/1.914, allocations: 440.5 kB / 1.093 GB, free: 294.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007563/1.915, allocations: 124.4 kB / 1.093 GB, free: 294 MB / 0.8106 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.00254/1.917, allocations: 1.126 MB / 1.094 GB, free: 293.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008708/1.918, allocations: 362.1 kB / 1.094 GB, free: 293.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/1.932, allocations: 6.771 MB / 1.101 GB, free: 288.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.932, allocations: 36 kB / 1.101 GB, free: 288.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/1.932, allocations: 15.94 kB / 1.101 GB, free: 288.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01151/1.944, allocations: 5.913 MB / 1.107 GB, free: 282 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02096/1.965, allocations: 11.73 MB / 1.118 GB, free: 270.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/1.965, allocations: 5.828 kB / 1.118 GB, free: 270.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003939/1.969, allocations: 0.8545 MB / 1.119 GB, free: 269.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/1.97, allocations: 0.698 MB / 1.12 GB, free: 268.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003388/1.971, allocations: 99.94 kB / 1.12 GB, free: 268.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008778/1.979, allocations: 10.06 MB / 1.129 GB, free: 258.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.979, allocations: 4 kB / 1.13 GB, free: 258.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01879/1.998, allocations: 9.827 MB / 1.139 GB, free: 248.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002266/2, allocations: 0.93 MB / 1.14 GB, free: 247.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/2.002, allocations: 82.05 kB / 1.14 GB, free: 247.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004043/2.006, allocations: 435.3 kB / 1.141 GB, free: 246.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008177/2.007, allocations: 250.3 kB / 1.141 GB, free: 246.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005209/2.007, allocations: 123.9 kB / 1.141 GB, free: 246.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003497/2.011, allocations: 2.111 MB / 1.143 GB, free: 244.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 6.31e-07/2.011, allocations: 0 / 1.143 GB, free: 244.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004955/2.016, allocations: 1.092 MB / 1.144 GB, free: 243.3 MB / 0.8106 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.02299/2.039, allocations: 11.35 MB / 1.155 GB, free: 232.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01384/2.053, allocations: 5.907 MB / 1.161 GB, free: 226.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/2.053, allocations: 7.938 kB / 1.161 GB, free: 226.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.007879/2.06, allocations: 3.552 MB / 1.164 GB, free: 222.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006861/2.067, allocations: 1.033 MB / 1.165 GB, free: 221.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07406/2.141, allocations: 36.51 MB / 1.201 GB, free: 184.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004258/2.146, allocations: 2.932 MB / 1.204 GB, free: 182 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005239/2.151, allocations: 1.27 MB / 1.205 GB, free: 180.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003849/2.155, allocations: 1.811 MB / 1.207 GB, free: 178.9 MB / 0.8106 GB Notification: Performance of SimCode: time 1.282e-06/2.155, allocations: 11.88 kB / 1.207 GB, free: 178.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1467/2.302, allocations: 93.13 MB / 1.298 GB, free: 86.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.06/20.36, allocations: 7.812 kB / 1.298 GB, free: 86.3 MB / 0.8106 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)