Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.VDI6007.TestCase10,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.005253/0.005253, allocations: 98.59 kB / 15.73 MB, free: 6.055 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.001385/0.001385, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.886/0.886, allocations: 135.6 MB / 426.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 67.14 kB / 0.5857 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1611, allocations: 81.03 MB / 0.6649 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.5803/0.7414, allocations: 157.5 MB / 0.8187 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02901/0.7705, allocations: 22.05 MB / 0.8402 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.7731, allocations: 57.34 kB / 0.8403 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002547/0.7757, allocations: 2.165 MB / 0.8424 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.7781, allocations: 1.453 MB / 0.8438 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.7798, allocations: 0.6164 MB / 0.8444 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.7821, allocations: 1.926 MB / 0.8463 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.7835, allocations: 1.132 MB / 0.8474 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.7847, allocations: 0.9137 MB / 0.8483 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.7864, allocations: 1.593 MB / 0.8498 GB, free: 40 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.7866, allocations: 95.56 kB / 0.8499 GB, free: 40 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.7869, allocations: 138.7 kB / 0.85 GB, free: 24 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004683/0.7874, allocations: 0.5531 MB / 0.8506 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007247/0.7882, allocations: 0.8043 MB / 0.8514 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.7902, allocations: 1.956 MB / 0.8533 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7903, allocations: 3.984 kB / 0.8533 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7903, allocations: 0 / 0.8533 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.554e-05/0.7903, allocations: 0 / 0.8533 GB, free: 13.41 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003653/0.794, allocations: 2.426 MB / 0.8557 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.794, allocations: 13.11 kB / 0.8557 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.7942, allocations: 118.7 kB / 0.8558 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002983/0.7945, allocations: 246.9 kB / 0.856 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.7959, allocations: 1.064 MB / 0.8571 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.796, allocations: 94.94 kB / 0.8571 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.7961, allocations: 75.98 kB / 0.8572 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.7976, allocations: 0.7728 MB / 0.858 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.7976, allocations: 8 kB / 0.858 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/0.7977, allocations: 27.98 kB / 0.858 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.7977, allocations: 19.94 kB / 0.858 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.7991, allocations: 0.6336 MB / 0.8586 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005298/0.8044, allocations: 3.722 MB / 0.8623 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.8061, allocations: 0.7376 MB / 0.863 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008603/0.807, allocations: 434.9 kB / 0.8634 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.148e-05/0.807, allocations: 8.562 kB / 0.8634 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008823/0.8079, allocations: 456 kB / 0.8639 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 2.776e-06/0.8079, allocations: 0 / 0.8639 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.004638/0.8126, allocations: 1.835 MB / 0.8656 GB, free: 252 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.8127, allocations: 60.06 kB / 0.8657 GB, free: 180 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003937/0.8166, allocations: 3.366 MB / 0.869 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.8167, allocations: 41.7 kB / 0.869 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009017/0.8176, allocations: 0.9335 MB / 0.8699 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.8179, allocations: 250 kB / 0.8702 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.8182, allocations: 138.6 kB / 0.8703 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.8183, allocations: 341.9 kB / 0.8706 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000731/0.8191, allocations: 321.8 kB / 0.8709 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000856/0.8199, allocations: 468 kB / 0.8714 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.8214, allocations: 0.7514 MB / 0.8721 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.8214, allocations: 0 / 0.8721 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002551/0.8239, allocations: 1.268 MB / 0.8734 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.824, allocations: 4 kB / 0.8734 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.824, allocations: 4 kB / 0.8734 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007399/0.8247, allocations: 259.5 kB / 0.8736 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/0.8253, allocations: 139.8 kB / 0.8738 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005451/0.8308, allocations: 4.756 MB / 0.8784 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007497/0.8315, allocations: 103.4 kB / 0.8785 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.8316, allocations: 28 kB / 0.8785 GB, free: 2.613 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.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009117/0.8325, allocations: 0.603 MB / 0.8791 GB, free: 2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.8328, allocations: 226.5 kB / 0.8793 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004251/0.8332, allocations: 269.1 kB / 0.8796 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.8332, allocations: 4 kB / 0.8796 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.8333, allocations: 4 kB / 0.8796 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.8333, allocations: 3.984 kB / 0.8796 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004015/0.8373, allocations: 2.417 MB / 0.882 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.8373, allocations: 0 / 0.882 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.8377, allocations: 71.89 kB / 0.882 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000683/0.8384, allocations: 257.4 kB / 0.8823 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/0.8384, allocations: 19.92 kB / 0.8823 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005343/0.8438, allocations: 4.742 MB / 0.8869 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8438, allocations: 0 / 0.8869 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003262/0.8471, allocations: 1.643 MB / 0.8885 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005397/0.8476, allocations: 339.4 kB / 0.8888 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.8478, allocations: 16 kB / 0.8889 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.8482, allocations: 39.95 kB / 0.8889 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.8484, allocations: 76.48 kB / 0.889 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.8485, allocations: 31.98 kB / 0.889 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003015/0.8515, allocations: 2.456 MB / 0.8914 GB, free: 5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8516, allocations: 4 kB / 0.8914 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001325/0.8529, allocations: 303.6 kB / 0.8917 GB, free: 4.699 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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.005387/0.8583, allocations: 2.594 MB / 0.8942 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002358/0.8607, allocations: 1.098 MB / 0.8953 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8607, allocations: 0 / 0.8953 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.8619, allocations: 0.7104 MB / 0.896 GB, free: 416 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.8634, allocations: 289.2 kB / 0.8963 GB, free: 136 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/0.8856, allocations: 14.17 MB / 0.9101 GB, free: 1.691 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.887, allocations: 1.556 MB / 0.9116 GB, free: 112 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005247/0.8875, allocations: 158.5 kB / 0.9118 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008791/0.8884, allocations: 0.7453 MB / 0.9125 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of SimCode: time 1.012e-06/0.8884, allocations: 0 / 0.9125 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08408/0.9725, allocations: 34.19 MB / 0.9459 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.43, allocations: 7.062 kB / 0.9459 GB, free: 13.34 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)