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.001792/0.001792, allocations: 108 kB / 15.61 MB, free: 152 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.001262/0.001262, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9465/0.9465, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.62 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1633, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5166/0.6799, allocations: 202.1 MB / 0.7818 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02419/0.7041, allocations: 15.14 MB / 0.7966 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003411/0.7076, allocations: 95.5 kB / 0.7967 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003109/0.7107, allocations: 1.305 MB / 0.798 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007003/0.7177, allocations: 2.642 MB / 0.8005 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005293/0.723, allocations: 2.194 MB / 0.8027 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008105/0.7312, allocations: 6.662 MB / 0.8092 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009727/0.7409, allocations: 5.536 MB / 0.8146 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004945/0.7459, allocations: 2.605 MB / 0.8171 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006478/0.7524, allocations: 3.089 MB / 0.8201 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001863/0.7543, allocations: 0.5703 MB / 0.8207 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004794/0.7591, allocations: 1.915 MB / 0.8226 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002475/0.7616, allocations: 1.617 MB / 0.8242 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004716/0.7663, allocations: 2.644 MB / 0.8267 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.7773, allocations: 7.63 MB / 0.8342 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.7773, allocations: 0 / 0.8342 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7773, allocations: 3.938 kB / 0.8342 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002804/0.7776, allocations: 0 / 0.8342 GB, free: 13.11 MB / 0.6544 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.01484/0.7925, allocations: 5.622 MB / 0.8397 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.7925, allocations: 12.03 kB / 0.8397 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001518/0.794, allocations: 0.5556 MB / 0.8402 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01577/0.8098, allocations: 3.005 MB / 0.8432 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007325/0.8172, allocations: 2.679 MB / 0.8458 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002987/0.8175, allocations: 308.2 kB / 0.8461 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/0.8189, allocations: 412 kB / 0.8465 GB, free: 360 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01614/0.8351, allocations: 6.222 MB / 0.8525 GB, free: 10.02 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/0.8352, allocations: 4 kB / 0.8526 GB, free: 10.02 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009115/0.8362, allocations: 171.9 kB / 0.8527 GB, free: 9.852 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/0.8363, allocations: 148 kB / 0.8529 GB, free: 9.703 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01817/0.8545, allocations: 7.321 MB / 0.86 GB, free: 2.359 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.3807/1.235, allocations: 18.91 MB / 0.8785 GB, free: 208.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009146/1.244, allocations: 4.811 MB / 0.8832 GB, free: 206.5 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005857/1.25, allocations: 3.16 MB / 0.8863 GB, free: 205.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009271/1.251, allocations: 0.7018 MB / 0.8869 GB, free: 204.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005691/1.257, allocations: 2.934 MB / 0.8898 GB, free: 203.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 7.354e-06/1.257, allocations: 0 / 0.8898 GB, free: 203.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.04491/1.302, allocations: 16.24 MB / 0.9057 GB, free: 198.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.302, allocations: 222.1 kB / 0.9059 GB, free: 198 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00481/1.307, allocations: 2.902 MB / 0.9087 GB, free: 197 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007825/1.308, allocations: 86 kB / 0.9088 GB, free: 196.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00174/1.309, allocations: 1.689 MB / 0.9105 GB, free: 195.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001621/1.311, allocations: 1.156 MB / 0.9116 GB, free: 194.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001312/1.312, allocations: 0.5686 MB / 0.9121 GB, free: 194.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.566e-05/1.312, allocations: 302.5 kB / 0.9124 GB, free: 194.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006076/1.319, allocations: 2.314 MB / 0.9147 GB, free: 193.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006382/1.325, allocations: 2.684 MB / 0.9173 GB, free: 192.6 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.3387/1.664, allocations: 86.65 MB / 1.002 GB, free: 119.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/1.664, allocations: 112 / 1.002 GB, free: 119.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01235/1.676, allocations: 6.158 MB / 1.008 GB, free: 113.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/1.676, allocations: 33.7 kB / 1.008 GB, free: 113.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/1.676, allocations: 4 kB / 1.008 GB, free: 113.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/1.678, allocations: 0.8278 MB / 1.009 GB, free: 112.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003902/1.682, allocations: 0.8503 MB / 1.01 GB, free: 111.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0084/1.69, allocations: 7.512 MB / 1.017 GB, free: 104.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004589/1.695, allocations: 435.9 kB / 1.017 GB, free: 103.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000337/1.695, allocations: 119.9 kB / 1.017 GB, free: 103.7 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.002278/1.697, allocations: 1.137 MB / 1.019 GB, free: 102.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007374/1.698, allocations: 339.8 kB / 1.019 GB, free: 102.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/1.711, allocations: 6.775 MB / 1.026 GB, free: 95.37 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/1.711, allocations: 32 kB / 1.026 GB, free: 95.34 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/1.711, allocations: 12 kB / 1.026 GB, free: 95.32 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01051/1.722, allocations: 5.913 MB / 1.031 GB, free: 89.29 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01963/1.741, allocations: 11.75 MB / 1.043 GB, free: 77.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.741, allocations: 7.938 kB / 1.043 GB, free: 77.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003903/1.745, allocations: 0.8546 MB / 1.044 GB, free: 76.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/1.747, allocations: 0.7058 MB / 1.044 GB, free: 75.88 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002556/1.747, allocations: 95.94 kB / 1.044 GB, free: 75.79 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008663/1.755, allocations: 10.04 MB / 1.054 GB, free: 65.35 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.755, allocations: 15.88 kB / 1.054 GB, free: 65.33 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01736/1.773, allocations: 9.803 MB / 1.064 GB, free: 55.39 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002325/1.775, allocations: 0.9144 MB / 1.065 GB, free: 54.45 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005424/1.776, allocations: 79.95 kB / 1.065 GB, free: 54.38 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003236/1.779, allocations: 434.8 kB / 1.065 GB, free: 53.95 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000528/1.78, allocations: 250.3 kB / 1.065 GB, free: 53.71 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/1.78, allocations: 123.9 kB / 1.066 GB, free: 53.59 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002397/1.782, allocations: 2.107 MB / 1.068 GB, free: 51.48 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/1.782, allocations: 4 kB / 1.068 GB, free: 51.48 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003056/1.785, allocations: 1.091 MB / 1.069 GB, free: 50.41 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.01881/1.804, allocations: 11.34 MB / 1.08 GB, free: 39.36 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02157/1.826, allocations: 10.32 MB / 1.09 GB, free: 28.98 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/1.826, allocations: 8 kB / 1.09 GB, free: 28.97 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006142/1.832, allocations: 3.549 MB / 1.093 GB, free: 25.39 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005021/1.837, allocations: 1.045 MB / 1.094 GB, free: 24.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3912/2.228, allocations: 41.61 MB / 1.135 GB, free: 201.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003475/2.232, allocations: 2.929 MB / 1.138 GB, free: 200.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004946/2.237, allocations: 1.274 MB / 1.139 GB, free: 200.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00262/2.239, allocations: 1.808 MB / 1.141 GB, free: 198.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.182e-06/2.239, allocations: 0 / 1.141 GB, free: 198.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1837/2.423, allocations: 92 MB / 1.231 GB, free: 144.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/13.85, allocations: 6.859 kB / 1.231 GB, free: 144.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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)