Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.VDI6007.TestCase2,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.007972/0.007972, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00193/0.00193, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.462/1.462, 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/package.mo): time 0.8191/0.8191, allocations: 132.2 MB / 422.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.97 kB / 0.5809 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1767, allocations: 80.2 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1809/0.3576, allocations: 156.7 MB / 0.8122 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.4053/0.7629, allocations: 21.72 MB / 0.8334 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002895/0.7659, allocations: 53.69 kB / 0.8335 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002287/0.7683, allocations: 1.167 MB / 0.8346 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002187/0.7705, allocations: 0.8553 MB / 0.8355 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.7722, allocations: 439.4 kB / 0.8359 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002266/0.7744, allocations: 1.259 MB / 0.8371 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.7759, allocations: 0.6887 MB / 0.8378 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.7774, allocations: 0.55 MB / 0.8383 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.779, allocations: 0.9194 MB / 0.8392 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.7792, allocations: 66 kB / 0.8393 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000378/0.7795, allocations: 106 kB / 0.8394 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.7799, allocations: 322.1 kB / 0.8397 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005683/0.7804, allocations: 493.5 kB / 0.8402 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.7821, allocations: 1.203 MB / 0.8413 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.7821, allocations: 5.953 kB / 0.8413 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.434e-06/0.7821, allocations: 0 / 0.8413 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.292e-05/0.7821, allocations: 2.094 kB / 0.8414 GB, free: 2.016 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00235/0.7845, allocations: 1.512 MB / 0.8428 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.7846, allocations: 15.66 kB / 0.8428 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.379e-05/0.7846, allocations: 85.48 kB / 0.8429 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.7848, allocations: 140.1 kB / 0.8431 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007786/0.7856, allocations: 0.6684 MB / 0.8437 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.7858, allocations: 75.58 kB / 0.8438 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/0.7858, allocations: 50.47 kB / 0.8438 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008748/0.7867, allocations: 0.5216 MB / 0.8443 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.7868, allocations: 1 kB / 0.8443 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.7868, allocations: 13.94 kB / 0.8444 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.7868, allocations: 10.53 kB / 0.8444 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007749/0.7876, allocations: 424.5 kB / 0.8448 GB, free: 0.4961 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.003541/0.7912, allocations: 2.794 MB / 0.8475 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009817/0.7922, allocations: 454.8 kB / 0.8479 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/0.7927, allocations: 293.6 kB / 0.8482 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.7927, allocations: 8.703 kB / 0.8482 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005035/0.7932, allocations: 305.8 kB / 0.8485 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.806e-06/0.7933, allocations: 0 / 0.8485 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.002823/0.7961, allocations: 1.241 MB / 0.8497 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.7961, allocations: 57.12 kB / 0.8498 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.7979, allocations: 1.755 MB / 0.8515 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.7979, allocations: 40.27 kB / 0.8515 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.7983, allocations: 0.5187 MB / 0.852 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.7985, allocations: 152.3 kB / 0.8522 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.7986, allocations: 97.91 kB / 0.8523 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.7988, allocations: 328 kB / 0.8526 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/0.7992, allocations: 219.4 kB / 0.8528 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007289/0.8, allocations: 331.7 kB / 0.8531 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.8013, allocations: 0.5074 MB / 0.8536 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.8013, allocations: 3.281 kB / 0.8536 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002394/0.8037, allocations: 0.8517 MB / 0.8544 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.8037, allocations: 8.875 kB / 0.8545 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.8038, allocations: 4.375 kB / 0.8545 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006936/0.8045, allocations: 184.3 kB / 0.8546 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.805, allocations: 97.28 kB / 0.8547 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/0.8097, allocations: 3 MB / 0.8577 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007232/0.8104, allocations: 77.05 kB / 0.8577 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.8105, allocations: 23.47 kB / 0.8578 GB, free: 11.86 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007585/0.8113, allocations: 388.7 kB / 0.8581 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.8115, allocations: 121.2 kB / 0.8582 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.8118, allocations: 143.9 kB / 0.8584 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.8118, allocations: 5.625 kB / 0.8584 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/0.8118, allocations: 6.125 kB / 0.8584 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.8119, allocations: 2.953 kB / 0.8584 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0033/0.8152, allocations: 1.568 MB / 0.8599 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.8152, allocations: 0 / 0.8599 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.8155, allocations: 46.84 kB / 0.86 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006741/0.8162, allocations: 193.1 kB / 0.8601 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/0.8163, allocations: 10.45 kB / 0.8602 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006576/0.8229, allocations: 4.558 MB / 0.8646 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8229, allocations: 0 / 0.8646 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002919/0.8258, allocations: 1.059 MB / 0.8656 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/0.8263, allocations: 227 kB / 0.8659 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.8265, allocations: 15.59 kB / 0.8659 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004988/0.827, allocations: 28.44 kB / 0.8659 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.8272, allocations: 53.64 kB / 0.866 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.227e-05/0.8273, allocations: 23.84 kB / 0.866 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002071/0.8294, allocations: 1.28 MB / 0.8672 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.6e-07/0.8294, allocations: 0 / 0.8672 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00138/0.8308, allocations: 208.4 kB / 0.8674 GB, free: 7.715 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,13,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.00548/0.8363, allocations: 1.983 MB / 0.8694 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002312/0.8386, allocations: 0.7233 MB / 0.8701 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.8386, allocations: 0.7188 kB / 0.8701 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.8399, allocations: 0.5511 MB / 0.8706 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.8416, allocations: 202.8 kB / 0.8708 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.8566, allocations: 8.603 MB / 0.8792 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009748/0.8576, allocations: 1.156 MB / 0.8803 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003485/0.858, allocations: 91.17 kB / 0.8804 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/0.8584, allocations: 404.4 kB / 0.8808 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of SimCode: time 8.42e-07/0.8584, allocations: 0 / 0.8808 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05571/0.9141, allocations: 21.23 MB / 0.9015 GB, free: 5.789 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.78, allocations: 14.62 kB / 0.9015 GB, free: 5.785 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)