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.009466/0.009466, allocations: 99.58 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.002692/0.002692, allocations: 193.2 kB / 16.67 MB, free: 5.934 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8427/0.8427, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 67.14 kB / 0.5809 GB, free: 23.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1427, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.4937/0.6364, allocations: 157.2 MB / 0.8127 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02622/0.6627, allocations: 21.99 MB / 0.8342 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.6647, allocations: 54.94 kB / 0.8343 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00236/0.6671, allocations: 2.148 MB / 0.8364 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.6693, allocations: 1.422 MB / 0.8377 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.6708, allocations: 0.5793 MB / 0.8383 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00207/0.6728, allocations: 1.829 MB / 0.8401 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.6742, allocations: 1.091 MB / 0.8412 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009763/0.6751, allocations: 0.8768 MB / 0.842 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.6767, allocations: 1.539 MB / 0.8435 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.6768, allocations: 95 kB / 0.8436 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.6771, allocations: 135.8 kB / 0.8437 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000459/0.6776, allocations: 0.5255 MB / 0.8442 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007054/0.6783, allocations: 0.7594 MB / 0.845 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.6804, allocations: 1.871 MB / 0.8468 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6804, allocations: 0 / 0.8468 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6804, allocations: 0 / 0.8468 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.641e-05/0.6804, allocations: 0 / 0.8468 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.003638/0.6841, allocations: 2.356 MB / 0.8491 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.6841, allocations: 14.14 kB / 0.8491 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001412/0.6843, allocations: 99.11 kB / 0.8492 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.6846, allocations: 251.3 kB / 0.8495 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.6861, allocations: 1.039 MB / 0.8505 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.6862, allocations: 83.19 kB / 0.8506 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.6864, allocations: 63.81 kB / 0.8506 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.6878, allocations: 0.7368 MB / 0.8513 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.6878, allocations: 7.984 kB / 0.8513 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-05/0.6879, allocations: 20 kB / 0.8514 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.6879, allocations: 16 kB / 0.8514 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.6892, allocations: 0.5945 MB / 0.852 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005286/0.6945, allocations: 3.502 MB / 0.8554 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.6962, allocations: 0.706 MB / 0.8561 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008476/0.697, allocations: 416.6 kB / 0.8565 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.077e-05/0.6971, allocations: 12.55 kB / 0.8565 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008727/0.698, allocations: 434.8 kB / 0.8569 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.535e-06/0.698, allocations: 0 / 0.8569 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.004838/0.7029, allocations: 1.805 MB / 0.8587 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.703, allocations: 59.97 kB / 0.8587 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004078/0.707, allocations: 3.312 MB / 0.862 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.293e-05/0.7071, allocations: 41.7 kB / 0.862 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008589/0.708, allocations: 0.8981 MB / 0.8629 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.7082, allocations: 230.1 kB / 0.8631 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.7085, allocations: 134.7 kB / 0.8632 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.7086, allocations: 341.9 kB / 0.8635 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007084/0.7094, allocations: 301.8 kB / 0.8638 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008056/0.7102, allocations: 438.3 kB / 0.8642 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.7116, allocations: 0.7249 MB / 0.865 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7116, allocations: 0 / 0.865 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002538/0.7141, allocations: 1.22 MB / 0.8661 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.7142, allocations: 4 kB / 0.8662 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.7142, allocations: 4 kB / 0.8662 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007849/0.715, allocations: 261.6 kB / 0.8664 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/0.7155, allocations: 131.8 kB / 0.8665 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005791/0.7213, allocations: 4.76 MB / 0.8712 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008174/0.7222, allocations: 99.41 kB / 0.8713 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/0.7223, allocations: 28 kB / 0.8713 GB, free: 11.94 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.001083/0.7233, allocations: 0.607 MB / 0.8719 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/0.7237, allocations: 214.6 kB / 0.8721 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004364/0.7241, allocations: 248.5 kB / 0.8723 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/0.7241, allocations: 11.94 kB / 0.8723 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/0.7242, allocations: 4 kB / 0.8723 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.7242, allocations: 7.922 kB / 0.8724 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003987/0.7282, allocations: 2.335 MB / 0.8746 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.7282, allocations: 0 / 0.8746 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.7285, allocations: 63.91 kB / 0.8747 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006832/0.7292, allocations: 255.9 kB / 0.8749 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/0.7293, allocations: 19.98 kB / 0.875 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005568/0.7348, allocations: 4.768 MB / 0.8796 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.7349, allocations: 3.938 kB / 0.8796 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/0.738, allocations: 1.589 MB / 0.8812 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/0.7385, allocations: 323.5 kB / 0.8815 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.7386, allocations: 23.92 kB / 0.8815 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.7391, allocations: 35.97 kB / 0.8815 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.7393, allocations: 72.45 kB / 0.8816 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/0.7393, allocations: 23.98 kB / 0.8816 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002995/0.7424, allocations: 2.427 MB / 0.884 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7424, allocations: 0 / 0.884 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009426/0.7433, allocations: 287.6 kB / 0.8843 GB, free: 14.23 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.005061/0.7484, allocations: 2.522 MB / 0.8867 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002273/0.7507, allocations: 1.054 MB / 0.8878 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7507, allocations: 0 / 0.8878 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.7519, allocations: 0.7021 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.001495/0.7534, allocations: 288.8 kB / 0.8887 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/0.775, allocations: 13.79 MB / 0.9022 GB, free: 11.77 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.7764, allocations: 1.532 MB / 0.9037 GB, free: 10.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004815/0.7769, allocations: 150.3 kB / 0.9038 GB, free: 10.05 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008681/0.7778, allocations: 0.7136 MB / 0.9045 GB, free: 9.336 MB / 0.67 GB Notification: Performance of SimCode: time 7.12e-07/0.7778, allocations: 0 / 0.9045 GB, free: 9.336 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07926/0.857, allocations: 32.94 MB / 0.9367 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.31, allocations: 3.938 kB / 0.9367 GB, free: 8.691 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)