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.004952/0.004952, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001332/0.001332, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8735/0.8735, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 66.67 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1661, allocations: 80.2 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5696/0.7358, allocations: 202.1 MB / 0.8566 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02694/0.7628, allocations: 15.12 MB / 0.8713 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004607/0.7674, allocations: 91.56 kB / 0.8714 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00389/0.7713, allocations: 1.309 MB / 0.8727 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008324/0.7797, allocations: 2.643 MB / 0.8753 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005973/0.7857, allocations: 2.196 MB / 0.8774 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01115/0.7969, allocations: 6.703 MB / 0.884 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008296/0.8052, allocations: 5.525 MB / 0.8894 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005106/0.8103, allocations: 2.617 MB / 0.8919 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005774/0.8161, allocations: 3.1 MB / 0.8949 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001524/0.8177, allocations: 0.5703 MB / 0.8955 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004984/0.8227, allocations: 1.942 MB / 0.8974 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002043/0.8247, allocations: 1.609 MB / 0.899 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003939/0.8287, allocations: 2.651 MB / 0.9016 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.8403, allocations: 7.789 MB / 0.9092 GB, free: 5.98 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8404, allocations: 0 / 0.9092 GB, free: 5.98 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.088e-06/0.8404, allocations: 4 kB / 0.9092 GB, free: 5.977 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002084/0.8406, allocations: 0 / 0.9092 GB, free: 5.977 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.01362/0.8542, allocations: 5.774 MB / 0.9148 GB, free: 112 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.8543, allocations: 12.03 kB / 0.9148 GB, free: 100 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008703/0.8552, allocations: 0.5596 MB / 0.9154 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01558/0.8708, allocations: 3.027 MB / 0.9183 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006016/0.8768, allocations: 2.755 MB / 0.921 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/0.8771, allocations: 308.2 kB / 0.9213 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008085/0.8779, allocations: 412 kB / 0.9217 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0145/0.8924, allocations: 6.221 MB / 0.9278 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.583e-05/0.8925, allocations: 15.94 kB / 0.9278 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004416/0.893, allocations: 167.9 kB / 0.9279 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.8931, allocations: 148 kB / 0.9281 GB, free: 2.305 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01733/0.9105, allocations: 7.325 MB / 0.9352 GB, free: 10.96 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.0339/0.9444, allocations: 18.8 MB / 0.9536 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.955, allocations: 4.798 MB / 0.9583 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006667/0.9617, allocations: 3.171 MB / 0.9614 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.9628, allocations: 0.7012 MB / 0.9621 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006418/0.9693, allocations: 2.928 MB / 0.9649 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 4.719e-06/0.9693, allocations: 0 / 0.9649 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.042/1.011, allocations: 16.31 MB / 0.9809 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002416/1.012, allocations: 222.6 kB / 0.9811 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00433/1.016, allocations: 2.896 MB / 0.9839 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003466/1.016, allocations: 85.7 kB / 0.984 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001731/1.018, allocations: 1.719 MB / 0.9857 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001224/1.019, allocations: 1.216 MB / 0.9868 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/1.02, allocations: 0.5689 MB / 0.9874 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.021, allocations: 301.1 kB / 0.9877 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005438/1.026, allocations: 2.312 MB / 0.9899 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005945/1.032, allocations: 2.676 MB / 0.9926 GB, free: 14.96 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.7922/1.824, allocations: 86.62 MB / 1.077 GB, free: 302.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/1.824, allocations: 3.969 kB / 1.077 GB, free: 302.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01546/1.84, allocations: 6.163 MB / 1.083 GB, free: 299.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/1.84, allocations: 37.31 kB / 1.083 GB, free: 299.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/1.84, allocations: 1.969 kB / 1.083 GB, free: 299.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/1.842, allocations: 0.8189 MB / 1.084 GB, free: 299.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004481/1.846, allocations: 0.8553 MB / 1.085 GB, free: 299.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008736/1.855, allocations: 7.52 MB / 1.092 GB, free: 294.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004492/1.859, allocations: 432.9 kB / 1.093 GB, free: 293.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006368/1.86, allocations: 124.2 kB / 1.093 GB, free: 293.9 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.00246/1.862, allocations: 1.141 MB / 1.094 GB, free: 293.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008201/1.863, allocations: 362.5 kB / 1.094 GB, free: 293.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/1.877, allocations: 6.766 MB / 1.101 GB, free: 288 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/1.877, allocations: 36 kB / 1.101 GB, free: 287.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/1.877, allocations: 11.94 kB / 1.101 GB, free: 287.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01088/1.888, allocations: 5.911 MB / 1.107 GB, free: 281.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/1.907, allocations: 11.73 MB / 1.118 GB, free: 270.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/1.907, allocations: 4 kB / 1.118 GB, free: 270.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003856/1.911, allocations: 0.8585 MB / 1.119 GB, free: 269.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/1.912, allocations: 0.6942 MB / 1.12 GB, free: 268.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003016/1.912, allocations: 99.92 kB / 1.12 GB, free: 268.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008526/1.921, allocations: 10.06 MB / 1.129 GB, free: 258.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.921, allocations: 4 kB / 1.129 GB, free: 258.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01765/1.939, allocations: 9.823 MB / 1.139 GB, free: 248.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001849/1.941, allocations: 0.934 MB / 1.14 GB, free: 247.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006238/1.941, allocations: 91.73 kB / 1.14 GB, free: 247.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003244/1.944, allocations: 429.4 kB / 1.14 GB, free: 246.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005217/1.945, allocations: 254.3 kB / 1.141 GB, free: 246.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002551/1.945, allocations: 119.9 kB / 1.141 GB, free: 246.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002296/1.948, allocations: 2.111 MB / 1.143 GB, free: 244.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/1.948, allocations: 0 / 1.143 GB, free: 244.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003116/1.951, allocations: 1.096 MB / 1.144 GB, free: 243.2 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.02122/1.972, allocations: 11.35 MB / 1.155 GB, free: 232.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0132/1.985, allocations: 5.906 MB / 1.161 GB, free: 226.3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/1.985, allocations: 4 kB / 1.161 GB, free: 226.3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.007382/1.993, allocations: 3.553 MB / 1.164 GB, free: 222.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006709/1.999, allocations: 1.031 MB / 1.165 GB, free: 221.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07183/2.071, allocations: 36.51 MB / 1.201 GB, free: 184.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003411/2.075, allocations: 2.924 MB / 1.204 GB, free: 181.8 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004827/2.079, allocations: 1.282 MB / 1.205 GB, free: 180.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002743/2.082, allocations: 1.811 MB / 1.207 GB, free: 178.7 MB / 0.8106 GB Notification: Performance of SimCode: time 1.413e-06/2.082, allocations: 3.938 kB / 1.207 GB, free: 178.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1363/2.219, allocations: 93.13 MB / 1.298 GB, free: 86.18 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/19.83, allocations: 11.69 kB / 1.298 GB, free: 86.17 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 & 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 3600 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)