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.001038/0.001038, 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.001022/0.001022, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7827/0.7827, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 60.02 kB / 0.5019 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4458, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.2486/0.6944, allocations: 202.1 MB / 0.7775 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02788/0.7223, allocations: 15.14 MB / 0.7923 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005468/0.7278, allocations: 91.56 kB / 0.7924 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004053/0.7319, allocations: 1.301 MB / 0.7937 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009157/0.7412, allocations: 2.65 MB / 0.7963 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006464/0.7476, allocations: 2.184 MB / 0.7984 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009788/0.7574, allocations: 6.664 MB / 0.8049 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01008/0.7676, allocations: 5.526 MB / 0.8103 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005721/0.7733, allocations: 2.605 MB / 0.8128 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4263/1.2, allocations: 3.088 MB / 0.8159 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00306/1.203, allocations: 0.5729 MB / 0.8164 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007177/1.21, allocations: 1.912 MB / 0.8183 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003637/1.214, allocations: 1.619 MB / 0.8199 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.008111/1.222, allocations: 2.654 MB / 0.8225 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01504/1.237, allocations: 7.633 MB / 0.8299 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.237, allocations: 0.75 kB / 0.8299 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.535e-06/1.237, allocations: 0.8125 kB / 0.8299 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002489/1.237, allocations: 0.6875 kB / 0.8299 GB, free: 11.7 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.02129/1.258, allocations: 5.622 MB / 0.8354 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/1.259, allocations: 7.438 kB / 0.8354 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001368/1.26, allocations: 0.5675 MB / 0.836 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02218/1.282, allocations: 2.989 MB / 0.8389 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006302/1.288, allocations: 2.688 MB / 0.8415 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/1.289, allocations: 310.1 kB / 0.8418 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009366/1.29, allocations: 410.5 kB / 0.8422 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01408/1.304, allocations: 6.219 MB / 0.8483 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.811e-05/1.304, allocations: 8.359 kB / 0.8483 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004719/1.304, allocations: 166.9 kB / 0.8484 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.704e-05/1.304, allocations: 145.2 kB / 0.8486 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/1.322, allocations: 7.322 MB / 0.8557 GB, free: 8.125 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.04268/1.364, allocations: 18.92 MB / 0.8742 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/1.376, allocations: 4.805 MB / 0.8789 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00638/1.382, allocations: 3.168 MB / 0.882 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009717/1.383, allocations: 0.6973 MB / 0.8827 GB, free: 276 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007814/1.391, allocations: 3.038 MB / 0.8856 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=345): time 5.951e-06/1.391, allocations: 0.7812 kB / 0.8856 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=347): time 0.0416/1.433, allocations: 16.24 MB / 0.9015 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/1.433, allocations: 222.7 kB / 0.9017 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0043/1.437, allocations: 2.903 MB / 0.9046 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004919/1.437, allocations: 89.7 kB / 0.9046 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001719/1.439, allocations: 1.684 MB / 0.9063 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00134/1.441, allocations: 1.153 MB / 0.9074 GB, free: 15.54 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/1.442, allocations: 0.5649 MB / 0.908 GB, free: 14.96 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.442, allocations: 301.1 kB / 0.9083 GB, free: 14.66 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005404/1.447, allocations: 2.32 MB / 0.9105 GB, free: 12.34 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005798/1.453, allocations: 2.677 MB / 0.9131 GB, free: 9.59 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.3841/1.837, allocations: 86.64 MB / 0.9977 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/1.837, allocations: 0 / 0.9977 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.02345/1.861, allocations: 6.163 MB / 1.004 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.266e-05/1.861, allocations: 33.7 kB / 1.004 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/1.861, allocations: 7.984 kB / 1.004 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/1.864, allocations: 0.824 MB / 1.005 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007274/1.871, allocations: 0.8542 MB / 1.005 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/1.887, allocations: 7.503 MB / 1.013 GB, free: 3.297 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006475/1.894, allocations: 439.4 kB / 1.013 GB, free: 2.867 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009077/1.895, allocations: 119.9 kB / 1.013 GB, free: 2.75 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.00421/1.899, allocations: 1.138 MB / 1.014 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/1.9, allocations: 351.7 kB / 1.015 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02442/1.925, allocations: 6.767 MB / 1.021 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/1.925, allocations: 36 kB / 1.021 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/1.925, allocations: 8 kB / 1.021 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02032/1.945, allocations: 5.923 MB / 1.027 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03726/1.982, allocations: 11.74 MB / 1.039 GB, free: 8.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/1.982, allocations: 4 kB / 1.039 GB, free: 8.676 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006907/1.989, allocations: 0.8584 MB / 1.039 GB, free: 7.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002559/1.992, allocations: 0.702 MB / 1.04 GB, free: 7.137 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005505/1.992, allocations: 91.94 kB / 1.04 GB, free: 7.047 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/2.005, allocations: 10.06 MB / 1.05 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/2.005, allocations: 8 kB / 1.05 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02073/2.025, allocations: 9.801 MB / 1.06 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/2.028, allocations: 0.9105 MB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005996/2.028, allocations: 83.83 kB / 1.061 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003527/2.032, allocations: 427.4 kB / 1.061 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005733/2.032, allocations: 249.4 kB / 1.061 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002879/2.033, allocations: 123.9 kB / 1.061 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002953/2.036, allocations: 2.109 MB / 1.063 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.8e-07/2.036, allocations: 0 / 1.063 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003209/2.039, allocations: 1.09 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.02307/2.062, allocations: 11.33 MB / 1.076 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0256/2.088, allocations: 10.33 MB / 1.086 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/2.088, allocations: 16 kB / 1.086 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.007095/2.095, allocations: 3.55 MB / 1.089 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005274/2.1, allocations: 1.034 MB / 1.09 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3496/2.45, allocations: 41.62 MB / 1.131 GB, free: 419.6 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/2.452, allocations: 2.927 MB / 1.134 GB, free: 418.6 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.004612/2.457, allocations: 1.281 MB / 1.135 GB, free: 418.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002458/2.459, allocations: 1.822 MB / 1.137 GB, free: 417.1 MB / 0.8575 GB Notification: Performance of SimCode: time 1.172e-06/2.459, allocations: 0 / 1.137 GB, free: 417.1 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.132/2.591, allocations: 91.98 MB / 1.227 GB, free: 333.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/14.23, allocations: 8.062 kB / 1.227 GB, free: 333.6 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)