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.00135/0.00135, allocations: 108 kB / 15.6 MB, free: 132 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.001277/0.001277, allocations: 195.9 kB / 16.54 MB, free: 6.672 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9707/0.9707, allocations: 135.1 MB / 425.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 58.94 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1912, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.5475/0.7387, allocations: 157.5 MB / 0.7383 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03209/0.7709, allocations: 22.05 MB / 0.7598 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004141/0.7751, allocations: 63.94 kB / 0.7599 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003728/0.7789, allocations: 2.158 MB / 0.762 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003651/0.7826, allocations: 1.46 MB / 0.7634 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002565/0.7851, allocations: 0.6096 MB / 0.764 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003193/0.7884, allocations: 1.933 MB / 0.7659 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.7903, allocations: 1.119 MB / 0.767 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.792, allocations: 0.923 MB / 0.7679 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.7936, allocations: 1.584 MB / 0.7694 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.7938, allocations: 103.9 kB / 0.7695 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003493/0.7942, allocations: 132 kB / 0.7696 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004115/0.7946, allocations: 0.5588 MB / 0.7702 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006469/0.7953, allocations: 0.7991 MB / 0.771 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.797, allocations: 1.895 MB / 0.7728 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7971, allocations: 4 kB / 0.7728 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7971, allocations: 0 / 0.7728 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.643e-05/0.7971, allocations: 0 / 0.7728 GB, free: 11.83 MB / 0.5919 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.003438/0.8006, allocations: 2.356 MB / 0.7751 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.8006, allocations: 8.031 kB / 0.7751 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.8008, allocations: 114.7 kB / 0.7752 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003207/0.8011, allocations: 241.5 kB / 0.7755 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.8025, allocations: 1.031 MB / 0.7765 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.8026, allocations: 94.98 kB / 0.7766 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.8027, allocations: 71.98 kB / 0.7766 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.8042, allocations: 0.7767 MB / 0.7774 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.8043, allocations: 0 / 0.7774 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.8043, allocations: 35.98 kB / 0.7774 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/0.8044, allocations: 19.94 kB / 0.7775 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.8057, allocations: 0.6414 MB / 0.7781 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005151/0.8109, allocations: 3.737 MB / 0.7817 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.8124, allocations: 0.755 MB / 0.7825 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007335/0.8131, allocations: 428.8 kB / 0.7829 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.8132, allocations: 8.562 kB / 0.7829 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007842/0.814, allocations: 448 kB / 0.7833 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.906e-06/0.814, allocations: 4 kB / 0.7833 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.0042/0.8182, allocations: 1.823 MB / 0.7851 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.8183, allocations: 68.05 kB / 0.7852 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/0.8221, allocations: 3.362 MB / 0.7884 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.159e-05/0.8222, allocations: 49.69 kB / 0.7885 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008324/0.8231, allocations: 0.9252 MB / 0.7894 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.8233, allocations: 236.7 kB / 0.7896 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.8235, allocations: 134.7 kB / 0.7898 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.8237, allocations: 341.9 kB / 0.7901 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006611/0.8243, allocations: 321.8 kB / 0.7904 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007245/0.8251, allocations: 468 kB / 0.7908 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.8263, allocations: 0.7509 MB / 0.7916 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.8263, allocations: 0 / 0.7916 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002281/0.8286, allocations: 1.243 MB / 0.7928 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.8287, allocations: 8 kB / 0.7928 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.8287, allocations: 8.078 kB / 0.7928 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006893/0.8294, allocations: 264 kB / 0.793 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/0.8299, allocations: 135.8 kB / 0.7932 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006391/0.8363, allocations: 4.763 MB / 0.7978 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.8376, allocations: 107.2 kB / 0.7979 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.862e-05/0.8377, allocations: 24 kB / 0.798 GB, free: 1.176 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.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.001475/0.8392, allocations: 0.6108 MB / 0.7985 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004275/0.8396, allocations: 209.3 kB / 0.7987 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005492/0.8402, allocations: 265.1 kB / 0.799 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.8402, allocations: 8 kB / 0.799 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.238e-05/0.8403, allocations: 7.938 kB / 0.799 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.8403, allocations: 3.984 kB / 0.799 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005465/0.8458, allocations: 2.404 MB / 0.8014 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/0.8458, allocations: 0 / 0.8014 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/0.8463, allocations: 71.89 kB / 0.8014 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000908/0.8472, allocations: 253.5 kB / 0.8017 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-05/0.8473, allocations: 23.92 kB / 0.8017 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007282/0.8546, allocations: 4.745 MB / 0.8063 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8546, allocations: 0 / 0.8063 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004584/0.8592, allocations: 1.636 MB / 0.8079 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006982/0.8599, allocations: 326.2 kB / 0.8082 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/0.8602, allocations: 19.98 kB / 0.8083 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000744/0.8609, allocations: 39.97 kB / 0.8083 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.8612, allocations: 76.48 kB / 0.8084 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.784e-05/0.8613, allocations: 27.98 kB / 0.8084 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004187/0.8655, allocations: 2.456 MB / 0.8108 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8655, allocations: 0 / 0.8108 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001669/0.8672, allocations: 299.5 kB / 0.8111 GB, free: 3.301 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,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.006492/0.8737, allocations: 2.576 MB / 0.8136 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003513/0.8773, allocations: 1.191 MB / 0.8148 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.8773, allocations: 4 kB / 0.8148 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.8786, allocations: 0.7028 MB / 0.8155 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.8801, allocations: 287.6 kB / 0.8157 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02479/0.9049, allocations: 16.04 MB / 0.8314 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/0.9068, allocations: 1.556 MB / 0.8329 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006148/0.9075, allocations: 162.5 kB / 0.8331 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009773/0.9085, allocations: 0.7453 MB / 0.8338 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of SimCode: time 1.373e-06/0.9085, allocations: 0 / 0.8338 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3343/1.243, allocations: 33.56 MB / 0.8666 GB, free: 217.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.497/10.74, allocations: 5.953 kB / 0.8666 GB, free: 217.6 MB / 0.67 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)