Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Validation.RoomSteadyState,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState,fileNamePrefix="IDEAS_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.001205/0.001205, 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.001211/0.001212, allocations: 194.1 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7652/0.7652, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 60.62 kB / 0.5019 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4202, allocations: 80.21 MB / 0.5802 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.1762/0.5965, allocations: 160.2 MB / 0.7366 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0336/0.6302, allocations: 26.6 MB / 0.7626 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004628/0.6348, allocations: 75.62 kB / 0.7627 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.6373, allocations: 0.6165 MB / 0.7633 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004949/0.6423, allocations: 1.432 MB / 0.7647 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004482/0.6468, allocations: 1.611 MB / 0.7662 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006139/0.653, allocations: 4.469 MB / 0.7706 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005395/0.6584, allocations: 3.955 MB / 0.7745 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003203/0.6616, allocations: 1.827 MB / 0.7762 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003166/0.6648, allocations: 2.129 MB / 0.7783 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.6659, allocations: 416 kB / 0.7787 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003173/0.6691, allocations: 1.389 MB / 0.7801 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001344/0.6704, allocations: 1.04 MB / 0.7811 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002155/0.6726, allocations: 1.835 MB / 0.7829 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005737/0.6783, allocations: 5.395 MB / 0.7882 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6784, allocations: 0 / 0.7882 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6784, allocations: 0 / 0.7882 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.91e-05/0.6785, allocations: 4 kB / 0.7882 GB, free: 11.85 MB / 0.6231 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.007877/0.6863, allocations: 4.074 MB / 0.7921 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.6864, allocations: 8.031 kB / 0.7921 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005173/0.6869, allocations: 429.6 kB / 0.7926 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/0.7007, allocations: 2.749 MB / 0.7952 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004088/0.7048, allocations: 2.046 MB / 0.7972 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.705, allocations: 230 kB / 0.7975 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005048/0.7055, allocations: 288 kB / 0.7977 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.7159, allocations: 4.95 MB / 0.8026 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.634e-05/0.716, allocations: 11.86 kB / 0.8026 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003421/0.7163, allocations: 127.9 kB / 0.8027 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.542e-05/0.7164, allocations: 76 kB / 0.8028 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0146/0.731, allocations: 6.094 MB / 0.8087 GB, free: 6.52 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.3118/1.043, allocations: 15.41 MB / 0.8238 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007933/1.051, allocations: 3.671 MB / 0.8274 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00403/1.055, allocations: 2.006 MB / 0.8293 GB, free: 208 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/1.055, allocations: 226.6 kB / 0.8295 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00405/1.059, allocations: 2.128 MB / 0.8316 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=231): time 6.362e-06/1.059, allocations: 0 / 0.8316 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=231): time 0.01372/1.073, allocations: 6.088 MB / 0.8376 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/1.073, allocations: 288.8 kB / 0.8378 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002978/1.076, allocations: 2.087 MB / 0.8399 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003632/1.076, allocations: 67.98 kB / 0.8399 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008295/1.077, allocations: 1.203 MB / 0.8411 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005498/1.078, allocations: 0.7717 MB / 0.8419 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007641/1.079, allocations: 461 kB / 0.8423 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.244e-05/1.079, allocations: 305.1 kB / 0.8426 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003205/1.082, allocations: 1.667 MB / 0.8442 GB, free: 199.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003598/1.086, allocations: 2.067 MB / 0.8462 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006722/1.092, allocations: 3.702 MB / 0.8499 GB, free: 196.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/1.092, allocations: 112 / 0.8499 GB, free: 196.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.008224/1.101, allocations: 4.296 MB / 0.854 GB, free: 193.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.101, allocations: 4 kB / 0.8541 GB, free: 193.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.101, allocations: 8 kB / 0.8541 GB, free: 193.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005625/1.101, allocations: 240.8 kB / 0.8543 GB, free: 193.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/1.104, allocations: 0.702 MB / 0.855 GB, free: 192.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/1.107, allocations: 3.384 MB / 0.8583 GB, free: 189.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003304/1.111, allocations: 0.532 MB / 0.8588 GB, free: 188.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002024/1.111, allocations: 106.7 kB / 0.8589 GB, free: 188.7 MB / 0.6387 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.001398/1.112, allocations: 0.8056 MB / 0.8597 GB, free: 187.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004669/1.113, allocations: 244.9 kB / 0.8599 GB, free: 187.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008345/1.121, allocations: 4.504 MB / 0.8643 GB, free: 183.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/1.121, allocations: 24 kB / 0.8643 GB, free: 183.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.121, allocations: 4 kB / 0.8643 GB, free: 183.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/1.121, allocations: 11.95 kB / 0.8644 GB, free: 183.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/1.134, allocations: 7.734 MB / 0.8719 GB, free: 175.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/1.134, allocations: 20.05 kB / 0.8719 GB, free: 175.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002325/1.136, allocations: 0.5538 MB / 0.8725 GB, free: 174.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007282/1.137, allocations: 278.9 kB / 0.8727 GB, free: 174.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/1.137, allocations: 71.95 kB / 0.8728 GB, free: 174.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/1.141, allocations: 5.251 MB / 0.8779 GB, free: 168.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.141, allocations: 15.94 kB / 0.8779 GB, free: 168.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009921/1.151, allocations: 5.681 MB / 0.8835 GB, free: 162.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/1.152, allocations: 0.6654 MB / 0.8841 GB, free: 162.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004234/1.153, allocations: 71.83 kB / 0.8842 GB, free: 162.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/1.155, allocations: 271.6 kB / 0.8845 GB, free: 161.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003213/1.155, allocations: 189.5 kB / 0.8847 GB, free: 161.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/1.155, allocations: 87.95 kB / 0.8847 GB, free: 161.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001955/1.157, allocations: 1.507 MB / 0.8862 GB, free: 160 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/1.157, allocations: 0 / 0.8862 GB, free: 160 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002731/1.16, allocations: 0.8703 MB / 0.8871 GB, free: 159.2 MB / 0.6387 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.01171/1.172, allocations: 7.143 MB / 0.894 GB, free: 152.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01114/1.183, allocations: 5.336 MB / 0.8992 GB, free: 147 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.183, allocations: 4.312 kB / 0.8992 GB, free: 147 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003629/1.187, allocations: 2 MB / 0.9012 GB, free: 145 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/1.19, allocations: 0.6458 MB / 0.9018 GB, free: 144.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.042/1.232, allocations: 28.76 MB / 0.9299 GB, free: 113.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/1.234, allocations: 2.229 MB / 0.9321 GB, free: 111.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003198/1.237, allocations: 0.9543 MB / 0.933 GB, free: 110.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/1.238, allocations: 1.222 MB / 0.9342 GB, free: 109.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.603e-06/1.238, allocations: 0 / 0.9342 GB, free: 109.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/1.339, allocations: 62.54 MB / 0.9953 GB, free: 47.24 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.95, allocations: 14.58 kB / 0.9953 GB, free: 47.23 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe 2>&1)