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.006396/0.006396, allocations: 104.9 kB / 15.74 MB, free: 6.059 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.001254/0.001254, allocations: 199.8 kB / 16.68 MB, free: 5.969 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7584/0.7584, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 65.89 kB / 0.5809 GB, free: 24.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1606, allocations: 80.21 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.6098/0.7703, allocations: 202.1 MB / 0.8566 GB, free: 10 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02494/0.7953, allocations: 15.11 MB / 0.8713 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00518/0.8005, allocations: 95.5 kB / 0.8714 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003694/0.8042, allocations: 1.325 MB / 0.8727 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008495/0.8128, allocations: 2.729 MB / 0.8754 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005909/0.8187, allocations: 2.198 MB / 0.8775 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01023/0.829, allocations: 6.702 MB / 0.8841 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007944/0.837, allocations: 5.531 MB / 0.8895 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005098/0.8421, allocations: 2.659 MB / 0.8921 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005483/0.8476, allocations: 3.086 MB / 0.8951 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001185/0.8488, allocations: 0.5781 MB / 0.8956 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004351/0.8531, allocations: 1.958 MB / 0.8975 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001613/0.8548, allocations: 1.613 MB / 0.8991 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003521/0.8583, allocations: 2.651 MB / 0.9017 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.8685, allocations: 7.754 MB / 0.9093 GB, free: 5.844 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.8685, allocations: 0 / 0.9093 GB, free: 5.844 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.925e-06/0.8686, allocations: 0 / 0.9093 GB, free: 5.844 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002571/0.8688, allocations: 0 / 0.9093 GB, free: 5.844 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.01288/0.8817, allocations: 5.629 MB / 0.9148 GB, free: 132 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.8818, allocations: 16.03 kB / 0.9148 GB, free: 116 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007129/0.8825, allocations: 0.5557 MB / 0.9153 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.8961, allocations: 2.993 MB / 0.9183 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005484/0.9016, allocations: 2.741 MB / 0.9209 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.9018, allocations: 312.2 kB / 0.9212 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008158/0.9027, allocations: 411.9 kB / 0.9216 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01257/0.9152, allocations: 6.215 MB / 0.9277 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.836e-05/0.9153, allocations: 3.938 kB / 0.9277 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004125/0.9158, allocations: 179.9 kB / 0.9279 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.9159, allocations: 140 kB / 0.928 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01652/0.9324, allocations: 7.329 MB / 0.9352 GB, free: 11.02 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.0373/0.9698, allocations: 18.76 MB / 0.9535 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.98, allocations: 4.806 MB / 0.9582 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006223/0.9863, allocations: 3.167 MB / 0.9613 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.9874, allocations: 0.6974 MB / 0.962 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006495/0.9939, allocations: 2.94 MB / 0.9648 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 5.871e-06/0.994, allocations: 0 / 0.9648 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.0424/1.036, allocations: 16.24 MB / 0.9807 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/1.037, allocations: 218.6 kB / 0.9809 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005135/1.042, allocations: 2.9 MB / 0.9837 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0007037/1.042, allocations: 85.7 kB / 0.9838 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001697/1.044, allocations: 1.688 MB / 0.9855 GB, free: 6.316 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001495/1.046, allocations: 1.147 MB / 0.9866 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001882/1.048, allocations: 0.5727 MB / 0.9871 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.048, allocations: 301.1 kB / 0.9874 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005609/1.053, allocations: 2.32 MB / 0.9897 GB, free: 1.949 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006032/1.059, allocations: 2.676 MB / 0.9923 GB, free: 15.2 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.7163/1.776, allocations: 86.61 MB / 1.077 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/1.776, allocations: 0 / 1.077 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.0117/1.787, allocations: 6.157 MB / 1.083 GB, free: 300 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.182e-05/1.787, allocations: 37.09 kB / 1.083 GB, free: 299.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.787, allocations: 3.719 kB / 1.083 GB, free: 299.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/1.789, allocations: 0.8182 MB / 1.084 GB, free: 299.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003751/1.793, allocations: 0.8531 MB / 1.085 GB, free: 299.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008297/1.801, allocations: 7.507 MB / 1.092 GB, free: 294.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/1.805, allocations: 437.6 kB / 1.092 GB, free: 294.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004031/1.806, allocations: 123.2 kB / 1.092 GB, free: 294.1 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.002057/1.808, allocations: 1.139 MB / 1.094 GB, free: 293.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006524/1.808, allocations: 343.4 kB / 1.094 GB, free: 293.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/1.82, allocations: 6.768 MB / 1.1 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/1.82, allocations: 32 kB / 1.101 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/1.82, allocations: 15.94 kB / 1.101 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009527/1.83, allocations: 5.912 MB / 1.106 GB, free: 282.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/1.848, allocations: 11.72 MB / 1.118 GB, free: 270.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/1.848, allocations: 8.469 kB / 1.118 GB, free: 270.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003664/1.851, allocations: 0.8542 MB / 1.119 GB, free: 269.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/1.853, allocations: 0.698 MB / 1.119 GB, free: 268.9 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002924/1.853, allocations: 99.92 kB / 1.119 GB, free: 268.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00836/1.861, allocations: 10.05 MB / 1.129 GB, free: 258.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.861, allocations: 4.125 kB / 1.129 GB, free: 258.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/1.877, allocations: 9.809 MB / 1.139 GB, free: 248.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/1.879, allocations: 0.9214 MB / 1.14 GB, free: 247.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005225/1.88, allocations: 82.72 kB / 1.14 GB, free: 247.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003078/1.883, allocations: 426.5 kB / 1.14 GB, free: 247.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006708/1.884, allocations: 258.2 kB / 1.14 GB, free: 246.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002654/1.884, allocations: 119.9 kB / 1.141 GB, free: 246.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002685/1.887, allocations: 2.103 MB / 1.143 GB, free: 244.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/1.887, allocations: 0 / 1.143 GB, free: 244.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003102/1.89, allocations: 1.098 MB / 1.144 GB, free: 243.6 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.01836/1.908, allocations: 11.32 MB / 1.155 GB, free: 232.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01083/1.919, allocations: 5.912 MB / 1.16 GB, free: 226.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/1.919, allocations: 0 / 1.16 GB, free: 226.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.005695/1.925, allocations: 3.553 MB / 1.164 GB, free: 223.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004116/1.929, allocations: 1.024 MB / 1.165 GB, free: 222.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06012/1.989, allocations: 36.35 MB / 1.2 GB, free: 185.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00337/1.993, allocations: 2.924 MB / 1.203 GB, free: 182.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003908/1.996, allocations: 1.286 MB / 1.205 GB, free: 181.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002307/1.999, allocations: 1.811 MB / 1.206 GB, free: 179.3 MB / 0.8106 GB Notification: Performance of SimCode: time 6.31e-07/1.999, allocations: 0 / 1.206 GB, free: 179.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1343/2.133, allocations: 93.13 MB / 1.297 GB, free: 86.78 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.67/18.81, allocations: 7.688 kB / 1.297 GB, free: 86.77 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)