Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",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.008103/0.008103, allocations: 100 kB / 15.73 MB, free: 6.016 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.00186/0.00186, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7802/0.7802, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 64.95 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.133, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.4866/0.6196, allocations: 157.2 MB / 0.8127 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02375/0.6434, allocations: 21.99 MB / 0.8342 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.6456, allocations: 57.19 kB / 0.8343 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.6478, allocations: 2.15 MB / 0.8364 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.6497, allocations: 1.437 MB / 0.8378 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.6511, allocations: 0.583 MB / 0.8383 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.6529, allocations: 1.827 MB / 0.8401 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.654, allocations: 1.09 MB / 0.8412 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009187/0.655, allocations: 0.8795 MB / 0.842 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.6563, allocations: 1.536 MB / 0.8435 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.6565, allocations: 89.88 kB / 0.8436 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.6568, allocations: 145.5 kB / 0.8438 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003774/0.6572, allocations: 0.5241 MB / 0.8443 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005814/0.6578, allocations: 0.7634 MB / 0.845 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.6594, allocations: 1.881 MB / 0.8469 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.6594, allocations: 0 / 0.8469 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6594, allocations: 0 / 0.8469 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.307e-05/0.6595, allocations: 0 / 0.8469 GB, free: 4.891 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003103/0.6626, allocations: 2.352 MB / 0.8491 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.6626, allocations: 9.531 kB / 0.8492 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.6628, allocations: 105.7 kB / 0.8493 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.663, allocations: 247.6 kB / 0.8495 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.6643, allocations: 1.029 MB / 0.8505 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.6644, allocations: 90.06 kB / 0.8506 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.6645, allocations: 65.08 kB / 0.8506 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.6658, allocations: 0.7329 MB / 0.8514 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.6659, allocations: 0 / 0.8514 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.6659, allocations: 28 kB / 0.8514 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.6659, allocations: 12 kB / 0.8514 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.6671, allocations: 0.5984 MB / 0.852 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004559/0.6717, allocations: 3.502 MB / 0.8554 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.6732, allocations: 0.7138 MB / 0.8561 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007376/0.6739, allocations: 410.9 kB / 0.8565 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.674, allocations: 12.56 kB / 0.8565 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007661/0.6748, allocations: 434.9 kB / 0.8569 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.445e-06/0.6748, allocations: 0 / 0.8569 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.004141/0.6789, allocations: 1.801 MB / 0.8587 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.679, allocations: 63.97 kB / 0.8587 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003237/0.6822, allocations: 3.308 MB / 0.862 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.419e-05/0.6823, allocations: 41.7 kB / 0.862 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007399/0.6831, allocations: 0.8942 MB / 0.8629 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.6833, allocations: 238.1 kB / 0.8631 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.6835, allocations: 134.6 kB / 0.8632 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6836, allocations: 337.9 kB / 0.8636 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006399/0.6843, allocations: 301.8 kB / 0.8639 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007158/0.685, allocations: 442.3 kB / 0.8643 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.6863, allocations: 0.7259 MB / 0.865 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6863, allocations: 0 / 0.865 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002438/0.6887, allocations: 1.219 MB / 0.8662 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.6888, allocations: 4 kB / 0.8662 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6888, allocations: 4 kB / 0.8662 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007254/0.6895, allocations: 257.6 kB / 0.8664 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.69, allocations: 135.7 kB / 0.8666 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004903/0.6949, allocations: 4.758 MB / 0.8712 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007256/0.6957, allocations: 99.41 kB / 0.8713 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/0.6957, allocations: 24 kB / 0.8713 GB, free: 11.96 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008767/0.6966, allocations: 0.603 MB / 0.8719 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.6969, allocations: 214.6 kB / 0.8721 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.6972, allocations: 252.5 kB / 0.8724 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.6972, allocations: 8 kB / 0.8724 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.6972, allocations: 4 kB / 0.8724 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.6973, allocations: 7.922 kB / 0.8724 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.7009, allocations: 2.335 MB / 0.8747 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7009, allocations: 0 / 0.8747 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.7012, allocations: 67.91 kB / 0.8747 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006258/0.7019, allocations: 252.2 kB / 0.875 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.7019, allocations: 23.98 kB / 0.875 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004777/0.7067, allocations: 4.767 MB / 0.8796 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7067, allocations: 0 / 0.8796 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/0.7096, allocations: 1.585 MB / 0.8812 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005655/0.7102, allocations: 331.4 kB / 0.8815 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.7103, allocations: 19.92 kB / 0.8815 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.7108, allocations: 39.91 kB / 0.8816 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.711, allocations: 76.45 kB / 0.8816 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.311e-05/0.711, allocations: 23.98 kB / 0.8817 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002627/0.7137, allocations: 2.423 MB / 0.884 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.71e-07/0.7137, allocations: 0 / 0.884 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009702/0.7147, allocations: 291.6 kB / 0.8843 GB, free: 14.25 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.003972/0.7186, allocations: 2.522 MB / 0.8868 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002002/0.7207, allocations: 1.066 MB / 0.8878 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.7207, allocations: 4 kB / 0.8878 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.7218, allocations: 0.6982 MB / 0.8885 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.7232, allocations: 282.1 kB / 0.8888 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01887/0.742, allocations: 13.79 MB / 0.9022 GB, free: 11.79 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.7432, allocations: 1.532 MB / 0.9037 GB, free: 10.21 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004426/0.7437, allocations: 150.4 kB / 0.9039 GB, free: 10.06 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007386/0.7444, allocations: 0.7101 MB / 0.9046 GB, free: 9.352 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/0.7444, allocations: 0 / 0.9046 GB, free: 9.352 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06526/0.8097, allocations: 32.93 MB / 0.9367 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.1, allocations: 3.938 kB / 0.9367 GB, free: 8.715 MB / 0.7012 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_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_TestCase5.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)