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.00549/0.00549, allocations: 99.8 kB / 15.73 MB, free: 6.004 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.001196/0.001197, allocations: 191 kB / 16.67 MB, free: 5.934 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9828/0.9828, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 59.91 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5195/0.521, allocations: 80.92 MB / 0.6642 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.1964/0.7175, allocations: 160.2 MB / 0.8206 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03607/0.7536, allocations: 26.6 MB / 0.8466 GB, free: 6.164 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003199/0.7568, allocations: 71.62 kB / 0.8466 GB, free: 6.094 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.7593, allocations: 0.6321 MB / 0.8472 GB, free: 5.457 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005031/0.7643, allocations: 1.45 MB / 0.8487 GB, free: 4.004 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004629/0.769, allocations: 1.64 MB / 0.8503 GB, free: 2.375 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006426/0.7754, allocations: 4.5 MB / 0.8547 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005858/0.7813, allocations: 3.944 MB / 0.8585 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/0.785, allocations: 1.864 MB / 0.8603 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003755/0.7888, allocations: 2.133 MB / 0.8624 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001397/0.7902, allocations: 416 kB / 0.8628 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004244/0.7945, allocations: 1.416 MB / 0.8642 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00186/0.7963, allocations: 1.04 MB / 0.8652 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003807/0.8002, allocations: 1.835 MB / 0.867 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.5219/1.322, allocations: 5.509 MB / 0.8724 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.322, allocations: 0 / 0.8724 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.084e-06/1.322, allocations: 0 / 0.8724 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001768/1.322, allocations: 1.438 kB / 0.8724 GB, free: 15.27 MB / 0.6856 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.01291/1.335, allocations: 4.185 MB / 0.8765 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/1.335, allocations: 10.66 kB / 0.8765 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007808/1.336, allocations: 425.8 kB / 0.8769 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/1.352, allocations: 2.755 MB / 0.8796 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007199/1.359, allocations: 2.117 MB / 0.8816 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/1.359, allocations: 228.2 kB / 0.8819 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/1.361, allocations: 289.6 kB / 0.8821 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/1.375, allocations: 4.947 MB / 0.887 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.539e-05/1.375, allocations: 4.938 kB / 0.887 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004362/1.375, allocations: 126.6 kB / 0.8871 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.655e-05/1.375, allocations: 72.88 kB / 0.8872 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01807/1.393, allocations: 6.095 MB / 0.8931 GB, free: 12.46 MB / 0.6856 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.03069/1.424, allocations: 15.35 MB / 0.9081 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007999/1.432, allocations: 3.665 MB / 0.9117 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00411/1.436, allocations: 2.009 MB / 0.9136 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003068/1.437, allocations: 231.1 kB / 0.9139 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004742/1.441, allocations: 2.128 MB / 0.9159 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=231): time 6.403e-06/1.441, allocations: 4.469 kB / 0.9159 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of matching and sorting (n=231): time 0.01547/1.457, allocations: 6.107 MB / 0.9219 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.457, allocations: 279.7 kB / 0.9222 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005047/1.462, allocations: 2.088 MB / 0.9242 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006217/1.463, allocations: 69.2 kB / 0.9243 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/1.464, allocations: 1.23 MB / 0.9255 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001211/1.465, allocations: 0.8061 MB / 0.9263 GB, free: 3.996 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001862/1.467, allocations: 457.5 kB / 0.9267 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.384e-05/1.467, allocations: 301.1 kB / 0.927 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004014/1.471, allocations: 1.676 MB / 0.9286 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004527/1.476, allocations: 2.063 MB / 0.9306 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008084/1.484, allocations: 3.705 MB / 0.9343 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.042e-05/1.484, allocations: 0 / 0.9343 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01045/1.494, allocations: 4.305 MB / 0.9385 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/1.495, allocations: 10.94 kB / 0.9385 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/1.495, allocations: 3.875 kB / 0.9385 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000681/1.495, allocations: 232.9 kB / 0.9387 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003633/1.499, allocations: 0.7127 MB / 0.9394 GB, free: 8 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006469/1.505, allocations: 3.382 MB / 0.9427 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005334/1.511, allocations: 0.5394 MB / 0.9432 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007619/1.512, allocations: 101.4 kB / 0.9433 GB, free: 12.75 MB / 0.7012 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.003613/1.515, allocations: 0.8134 MB / 0.9441 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001721/1.517, allocations: 258.3 kB / 0.9444 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/1.53, allocations: 4.503 MB / 0.9488 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/1.53, allocations: 20 kB / 0.9488 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/1.53, allocations: 4 kB / 0.9488 GB, free: 7.828 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.125e-05/1.53, allocations: 17.05 kB / 0.9488 GB, free: 7.812 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02028/1.55, allocations: 7.742 MB / 0.9564 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.743e-05/1.55, allocations: 12.25 kB / 0.9564 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002776/1.553, allocations: 0.5512 MB / 0.9569 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/1.554, allocations: 273.1 kB / 0.9572 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003261/1.554, allocations: 71.95 kB / 0.9572 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006938/1.561, allocations: 5.251 MB / 0.9624 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.353e-05/1.561, allocations: 18.28 kB / 0.9624 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01502/1.577, allocations: 5.687 MB / 0.9679 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002509/1.579, allocations: 0.6871 MB / 0.9686 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001106/1.58, allocations: 67.88 kB / 0.9687 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003194/1.583, allocations: 275.6 kB / 0.9689 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004958/1.584, allocations: 183 kB / 0.9691 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002714/1.584, allocations: 87.95 kB / 0.9692 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00463/1.589, allocations: 1.511 MB / 0.9707 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.589, allocations: 0 / 0.9707 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004565/1.593, allocations: 0.8819 MB / 0.9715 GB, free: 48 kB / 0.7169 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.01602/1.609, allocations: 7.17 MB / 0.9785 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.62, allocations: 3.744 MB / 0.9822 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/1.62, allocations: 3.094 kB / 0.9822 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00492/1.625, allocations: 1.991 MB / 0.9841 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005378/1.63, allocations: 0.656 MB / 0.9848 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06356/1.694, allocations: 26.09 MB / 1.01 GB, free: 8.309 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003417/1.697, allocations: 2.227 MB / 1.012 GB, free: 6.051 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004256/1.701, allocations: 0.9476 MB / 1.013 GB, free: 5.102 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002689/1.704, allocations: 1.222 MB / 1.015 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of SimCode: time 1.132e-06/1.704, allocations: 0 / 1.015 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1483/1.852, allocations: 63.37 MB / 1.076 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.73/19.58, allocations: 8 kB / 1.076 GB, free: 5.066 MB / 0.8262 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 3600 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe 2>&1)