Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.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.Validation.RoomSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState",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.001223/0.001223, 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.001386/0.001386, allocations: 195.2 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.978/0.978, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 59.58 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1647, allocations: 80.93 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.5205/0.6853, allocations: 160.2 MB / 0.7409 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03631/0.7216, allocations: 26.6 MB / 0.7668 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004183/0.7259, allocations: 75.62 kB / 0.7669 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002981/0.7289, allocations: 0.6126 MB / 0.7675 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005962/0.7349, allocations: 1.426 MB / 0.7689 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004245/0.7392, allocations: 1.621 MB / 0.7705 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005059/0.7442, allocations: 4.466 MB / 0.7749 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004755/0.749, allocations: 3.949 MB / 0.7787 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.7522, allocations: 1.826 MB / 0.7805 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.755, allocations: 2.133 MB / 0.7826 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006711/0.7557, allocations: 416 kB / 0.783 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.7584, allocations: 1.389 MB / 0.7843 GB, free: 132 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009621/0.7594, allocations: 1.048 MB / 0.7854 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002879/0.7623, allocations: 1.831 MB / 0.7871 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007522/0.7698, allocations: 5.391 MB / 0.7924 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.7698, allocations: 3.938 kB / 0.7924 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7698, allocations: 0 / 0.7924 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.582e-05/0.7699, allocations: 0 / 0.7924 GB, free: 7.828 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.008316/0.7783, allocations: 4.081 MB / 0.7964 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.7783, allocations: 8.031 kB / 0.7964 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000491/0.7788, allocations: 425.6 kB / 0.7968 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01391/0.7927, allocations: 2.745 MB / 0.7995 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004591/0.7974, allocations: 2.055 MB / 0.8015 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.7976, allocations: 226 kB / 0.8017 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005182/0.7981, allocations: 300 kB / 0.802 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.8091, allocations: 4.946 MB / 0.8068 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.781e-05/0.8092, allocations: 0 / 0.8068 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004067/0.8097, allocations: 128 kB / 0.807 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.038e-05/0.8097, allocations: 75.94 kB / 0.807 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01465/0.8244, allocations: 6.095 MB / 0.813 GB, free: 2.504 MB / 0.6231 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.02823/0.8527, allocations: 15.42 MB / 0.828 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007708/0.8604, allocations: 3.674 MB / 0.8316 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003988/0.8644, allocations: 2.011 MB / 0.8336 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/0.8648, allocations: 232.3 kB / 0.8338 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00433/0.8691, allocations: 2.122 MB / 0.8359 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=231): time 5.551e-06/0.8692, allocations: 0 / 0.8359 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=231): time 0.01407/0.8832, allocations: 6.087 MB / 0.8418 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/0.8834, allocations: 287 kB / 0.8421 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004073/0.8875, allocations: 2.081 MB / 0.8441 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000234/0.8878, allocations: 69.7 kB / 0.8442 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.889, allocations: 1.207 MB / 0.8454 GB, free: 412 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008582/0.8898, allocations: 0.7703 MB / 0.8461 GB, free: 15.62 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009899/0.8908, allocations: 451.8 kB / 0.8466 GB, free: 15.17 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.891, allocations: 313 kB / 0.8469 GB, free: 14.86 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/0.8947, allocations: 1.671 MB / 0.8485 GB, free: 13.19 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004133/0.8988, allocations: 2.061 MB / 0.8505 GB, free: 11 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007613/0.9065, allocations: 3.7 MB / 0.8541 GB, free: 7.215 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.9065, allocations: 0 / 0.8541 GB, free: 7.215 MB / 0.67 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.009646/0.9161, allocations: 4.297 MB / 0.8583 GB, free: 2.902 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.9162, allocations: 8 kB / 0.8583 GB, free: 2.895 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.9162, allocations: 8 kB / 0.8583 GB, free: 2.887 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006676/0.9169, allocations: 235.5 kB / 0.8586 GB, free: 2.656 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003246/0.9201, allocations: 0.7098 MB / 0.8593 GB, free: 1.945 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3797/1.3, allocations: 3.368 MB / 0.8625 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004136/1.304, allocations: 0.5414 MB / 0.8631 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003132/1.304, allocations: 97.38 kB / 0.8632 GB, free: 214.8 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.intGai.nextTimeEvent,$whenCondition1,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001698/1.306, allocations: 0.8119 MB / 0.864 GB, free: 214.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005701/1.307, allocations: 251.3 kB / 0.8642 GB, free: 214.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008625/1.315, allocations: 4.504 MB / 0.8686 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/1.315, allocations: 22.94 kB / 0.8686 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.315, allocations: 2.844 kB / 0.8686 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.212e-05/1.315, allocations: 12.8 kB / 0.8686 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/1.328, allocations: 7.735 MB / 0.8762 GB, free: 210.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/1.328, allocations: 12.09 kB / 0.8762 GB, free: 210.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/1.331, allocations: 0.5506 MB / 0.8767 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007374/1.331, allocations: 275.4 kB / 0.877 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/1.332, allocations: 77.38 kB / 0.8771 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004083/1.336, allocations: 5.243 MB / 0.8822 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/1.336, allocations: 13.66 kB / 0.8822 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/1.346, allocations: 5.677 MB / 0.8877 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/1.348, allocations: 0.6721 MB / 0.8884 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/1.348, allocations: 64.86 kB / 0.8885 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/1.35, allocations: 282.5 kB / 0.8887 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/1.351, allocations: 180.6 kB / 0.8889 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/1.351, allocations: 92.55 kB / 0.889 GB, free: 203.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002091/1.353, allocations: 1.502 MB / 0.8905 GB, free: 203.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/1.353, allocations: 0 / 0.8905 GB, free: 203.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002666/1.356, allocations: 0.8737 MB / 0.8913 GB, free: 202.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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): 2 systems {(2,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01363/1.369, allocations: 7.146 MB / 0.8983 GB, free: 199.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01337/1.383, allocations: 5.342 MB / 0.9035 GB, free: 198.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/1.383, allocations: 1.812 kB / 0.9035 GB, free: 198.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004375/1.387, allocations: 1.995 MB / 0.9055 GB, free: 198 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/1.391, allocations: 0.651 MB / 0.9061 GB, free: 197.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0584/1.449, allocations: 28.75 MB / 0.9342 GB, free: 182.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/1.451, allocations: 2.239 MB / 0.9364 GB, free: 181.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003334/1.454, allocations: 0.9613 MB / 0.9373 GB, free: 181.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/1.456, allocations: 1.216 MB / 0.9385 GB, free: 180.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.884e-06/1.456, allocations: 0 / 0.9385 GB, free: 180.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/1.556, allocations: 62.56 MB / 0.9996 GB, free: 120.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/14.17, allocations: 11.8 kB / 0.9996 GB, free: 120.1 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState_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_Validation_RoomSteadyState.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe 2>&1)