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.005316/0.005316, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001286/0.001286, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.519/1.519, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8596/0.8596, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001923, allocations: 66.58 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1981, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.6319/0.83, allocations: 160.2 MB / 0.8156 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03577/0.8659, allocations: 26.6 MB / 0.8416 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00376/0.8696, allocations: 73.84 kB / 0.8417 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.8721, allocations: 0.6293 MB / 0.8423 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006149/0.8783, allocations: 1.424 MB / 0.8437 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005565/0.8839, allocations: 1.629 MB / 0.8453 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007052/0.891, allocations: 4.492 MB / 0.8496 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006051/0.897, allocations: 3.94 MB / 0.8535 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00389/0.901, allocations: 1.831 MB / 0.8553 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003554/0.9045, allocations: 2.139 MB / 0.8574 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001495/0.9061, allocations: 417.6 kB / 0.8578 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004334/0.9104, allocations: 1.418 MB / 0.8591 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001919/0.9123, allocations: 1.039 MB / 0.8602 GB, free: 2 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003945/0.9163, allocations: 1.831 MB / 0.8619 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.9286, allocations: 5.511 MB / 0.8673 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.9286, allocations: 0.9375 kB / 0.8673 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9286, allocations: 0 / 0.8673 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002523/0.9289, allocations: 3.375 kB / 0.8673 GB, free: 0.7656 MB / 0.6387 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.01315/0.942, allocations: 4.189 MB / 0.8714 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.9421, allocations: 10.66 kB / 0.8714 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001562/0.9437, allocations: 420.9 kB / 0.8718 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/0.9576, allocations: 2.762 MB / 0.8745 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005301/0.963, allocations: 2.113 MB / 0.8766 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.9632, allocations: 225.7 kB / 0.8768 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/0.9646, allocations: 290.4 kB / 0.8771 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/0.9799, allocations: 4.95 MB / 0.8819 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/0.9801, allocations: 10.98 kB / 0.8819 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001006/0.9811, allocations: 127.2 kB / 0.8821 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/0.9812, allocations: 78.59 kB / 0.8821 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01687/0.9981, allocations: 6.096 MB / 0.8881 GB, free: 7.434 MB / 0.6544 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.03378/1.032, allocations: 15.35 MB / 0.9031 GB, free: 10.47 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008593/1.04, allocations: 3.678 MB / 0.9067 GB, free: 6.805 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004707/1.045, allocations: 2.007 MB / 0.9086 GB, free: 4.797 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004163/1.046, allocations: 231.1 kB / 0.9088 GB, free: 4.547 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005035/1.051, allocations: 2.124 MB / 0.9109 GB, free: 2.406 MB / 0.67 GB Notification: Performance of pre-optimization done (n=231): time 6.402e-06/1.051, allocations: 0 / 0.9109 GB, free: 2.406 MB / 0.67 GB Notification: Performance of matching and sorting (n=231): time 0.0158/1.067, allocations: 6.108 MB / 0.9169 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/1.067, allocations: 283 kB / 0.9172 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004005/1.071, allocations: 2.085 MB / 0.9192 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004565/1.071, allocations: 73.75 kB / 0.9193 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00137/1.073, allocations: 1.227 MB / 0.9205 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001157/1.074, allocations: 0.8115 MB / 0.9213 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/1.075, allocations: 459.9 kB / 0.9217 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.075, allocations: 311.3 kB / 0.922 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004141/1.079, allocations: 1.667 MB / 0.9236 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004654/1.084, allocations: 2.068 MB / 0.9256 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0087/1.093, allocations: 3.696 MB / 0.9292 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/1.093, allocations: 4 kB / 0.9292 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01139/1.104, allocations: 4.314 MB / 0.9335 GB, free: 11 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/1.104, allocations: 10.34 kB / 0.9335 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/1.104, allocations: 8 kB / 0.9335 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007207/1.105, allocations: 220.7 kB / 0.9337 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003566/1.109, allocations: 0.7076 MB / 0.9344 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004758/1.113, allocations: 3.374 MB / 0.9377 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004022/1.117, allocations: 0.5483 MB / 0.9382 GB, free: 6.043 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006564/1.118, allocations: 99.94 kB / 0.9383 GB, free: 5.945 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.002598/1.121, allocations: 0.8062 MB / 0.9391 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.122, allocations: 254.4 kB / 0.9393 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/1.134, allocations: 4.511 MB / 0.9437 GB, free: 396 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/1.134, allocations: 23.94 kB / 0.9438 GB, free: 372 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/1.134, allocations: 4 kB / 0.9438 GB, free: 368 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-05/1.134, allocations: 15.95 kB / 0.9438 GB, free: 352 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/1.156, allocations: 7.733 MB / 0.9513 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.44e-05/1.156, allocations: 8.219 kB / 0.9513 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002819/1.159, allocations: 0.5592 MB / 0.9519 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009346/1.16, allocations: 270.4 kB / 0.9521 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003926/1.161, allocations: 75.89 kB / 0.9522 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006041/1.167, allocations: 5.249 MB / 0.9573 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/1.167, allocations: 14.28 kB / 0.9574 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/1.182, allocations: 5.691 MB / 0.9629 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00212/1.184, allocations: 0.6784 MB / 0.9636 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/1.185, allocations: 71.88 kB / 0.9636 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002981/1.188, allocations: 271.6 kB / 0.9639 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005587/1.188, allocations: 187 kB / 0.9641 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003316/1.189, allocations: 91.89 kB / 0.9642 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003538/1.192, allocations: 1.511 MB / 0.9656 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.1e-07/1.192, allocations: 0 / 0.9656 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004383/1.197, allocations: 0.8808 MB / 0.9665 GB, free: 8.574 MB / 0.7325 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.01855/1.215, allocations: 7.157 MB / 0.9735 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.227, allocations: 3.749 MB / 0.9772 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.128e-05/1.227, allocations: 0 / 0.9772 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.005711/1.233, allocations: 1.997 MB / 0.9791 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005227/1.238, allocations: 0.6547 MB / 0.9797 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07027/1.308, allocations: 26.09 MB / 1.005 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003695/1.312, allocations: 2.227 MB / 1.007 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004478/1.316, allocations: 0.9557 MB / 1.008 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003249/1.32, allocations: 1.226 MB / 1.01 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of SimCode: time 1.172e-06/1.32, allocations: 0 / 1.01 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1439/1.464, allocations: 63.35 MB / 1.071 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.16/19.62, allocations: 10.53 kB / 1.071 GB, free: 13.62 MB / 0.8419 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 3600 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe 2>&1)