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.001542/0.001542, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7476/0.7476, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 64.08 kB / 0.5019 GB, free: 8.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1377, allocations: 80.2 MB / 0.5802 GB, free: 8.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.4026/0.5403, allocations: 157.2 MB / 0.7337 GB, free: 64 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02431/0.5647, allocations: 22 MB / 0.7552 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.5665, allocations: 61.44 kB / 0.7553 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.5688, allocations: 2.155 MB / 0.7574 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.5709, allocations: 1.417 MB / 0.7588 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.5724, allocations: 0.5785 MB / 0.7593 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.5743, allocations: 1.821 MB / 0.7611 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.5755, allocations: 1.088 MB / 0.7622 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008722/0.5764, allocations: 0.8764 MB / 0.763 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.5778, allocations: 1.534 MB / 0.7645 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.578, allocations: 92 kB / 0.7646 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.5783, allocations: 139.9 kB / 0.7647 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003829/0.5787, allocations: 0.52 MB / 0.7652 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006091/0.5793, allocations: 0.768 MB / 0.766 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.5807, allocations: 1.825 MB / 0.7678 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5807, allocations: 0 / 0.7678 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5807, allocations: 0 / 0.7678 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.5808, allocations: 0 / 0.7678 GB, free: 2.637 MB / 0.5762 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.002898/0.5837, allocations: 2.283 MB / 0.77 GB, free: 300 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.5837, allocations: 12.03 kB / 0.77 GB, free: 288 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.5838, allocations: 106.7 kB / 0.7701 GB, free: 172 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.5841, allocations: 230.1 kB / 0.7703 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.5852, allocations: 1.003 MB / 0.7713 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.5853, allocations: 87 kB / 0.7714 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.55e-05/0.5855, allocations: 67.98 kB / 0.7715 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.5867, allocations: 0.729 MB / 0.7722 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.5867, allocations: 0 / 0.7722 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/0.5867, allocations: 28 kB / 0.7722 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.5868, allocations: 19.92 kB / 0.7722 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.5879, allocations: 0.5984 MB / 0.7728 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004323/0.5922, allocations: 3.517 MB / 0.7762 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.5937, allocations: 0.7128 MB / 0.7769 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007296/0.5945, allocations: 412.8 kB / 0.7773 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.5945, allocations: 16.48 kB / 0.7774 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007429/0.5953, allocations: 426.9 kB / 0.7778 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.324e-06/0.5953, allocations: 0 / 0.7778 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.004121/0.5994, allocations: 1.8 MB / 0.7795 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.5995, allocations: 67.95 kB / 0.7796 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/0.6027, allocations: 3.304 MB / 0.7828 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.6027, allocations: 41.7 kB / 0.7828 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006848/0.6034, allocations: 0.8899 MB / 0.7837 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.6036, allocations: 224.8 kB / 0.7839 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.6038, allocations: 126.7 kB / 0.7841 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6039, allocations: 341.9 kB / 0.7844 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006397/0.6046, allocations: 309.8 kB / 0.7847 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007212/0.6053, allocations: 434.3 kB / 0.7851 GB, free: 324 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.6066, allocations: 0.7235 MB / 0.7858 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6066, allocations: 0 / 0.7858 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002195/0.6088, allocations: 1.208 MB / 0.787 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6088, allocations: 8 kB / 0.787 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6088, allocations: 0 / 0.787 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006929/0.6095, allocations: 266.7 kB / 0.7872 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/0.61, allocations: 127.8 kB / 0.7874 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004831/0.6149, allocations: 4.756 MB / 0.792 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/0.6154, allocations: 99.25 kB / 0.7921 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.6155, allocations: 32 kB / 0.7921 GB, free: 8.766 MB / 0.6075 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.0006913/0.6162, allocations: 0.6031 MB / 0.7927 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.6164, allocations: 201.4 kB / 0.7929 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.6167, allocations: 256.5 kB / 0.7932 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6168, allocations: 4 kB / 0.7932 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.6168, allocations: 4 kB / 0.7932 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.6168, allocations: 7.922 kB / 0.7932 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/0.6203, allocations: 2.346 MB / 0.7955 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.6203, allocations: 0 / 0.7955 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.6206, allocations: 67.83 kB / 0.7955 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000598/0.6212, allocations: 255.6 kB / 0.7958 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.6213, allocations: 15.98 kB / 0.7958 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004648/0.6259, allocations: 4.75 MB / 0.8004 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6259, allocations: 0 / 0.8004 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.6285, allocations: 1.586 MB / 0.802 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/0.6289, allocations: 306.4 kB / 0.8023 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.629, allocations: 23.94 kB / 0.8023 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.6294, allocations: 35.95 kB / 0.8023 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.6296, allocations: 76.45 kB / 0.8024 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/0.6297, allocations: 28 kB / 0.8024 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002374/0.6321, allocations: 2.423 MB / 0.8048 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6321, allocations: 0 / 0.8048 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008295/0.6329, allocations: 292.2 kB / 0.8051 GB, free: 11.09 MB / 0.6231 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.003857/0.6368, allocations: 2.509 MB / 0.8075 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.639, allocations: 1.142 MB / 0.8086 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.639, allocations: 4 kB / 0.8086 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.64, allocations: 0.6943 MB / 0.8093 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.6413, allocations: 282.3 kB / 0.8096 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/0.6599, allocations: 15.52 MB / 0.8247 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.661, allocations: 1.532 MB / 0.8262 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004385/0.6614, allocations: 150.4 kB / 0.8264 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007032/0.6621, allocations: 0.7062 MB / 0.8271 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of SimCode: time 1.343e-06/0.6622, allocations: 0 / 0.8271 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06336/0.7255, allocations: 32.35 MB / 0.8587 GB, free: 3.605 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.71/10.44, allocations: 11.72 kB / 0.8587 GB, free: 3.598 MB / 0.67 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)