Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.TestCase10,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="IDEAS_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.001463/0.001463, allocations: 108 kB / 15.61 MB, free: 128 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.001736/0.001736, allocations: 198.1 kB / 16.53 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8165/0.8165, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002586/0.002587, allocations: 63.67 kB / 0.5019 GB, free: 8.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2011, allocations: 80.2 MB / 0.5802 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.4779/0.679, allocations: 157.5 MB / 0.734 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02885/0.7079, allocations: 22.06 MB / 0.7555 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/0.7106, allocations: 61.34 kB / 0.7556 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.7131, allocations: 2.164 MB / 0.7577 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.7157, allocations: 1.452 MB / 0.7591 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.7175, allocations: 0.6186 MB / 0.7597 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002324/0.7199, allocations: 1.927 MB / 0.7616 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.7215, allocations: 1.119 MB / 0.7627 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.7228, allocations: 0.9192 MB / 0.7636 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.7244, allocations: 1.592 MB / 0.7652 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.7246, allocations: 96 kB / 0.7653 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.725, allocations: 132 kB / 0.7654 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004358/0.7254, allocations: 0.555 MB / 0.7659 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006741/0.7261, allocations: 0.803 MB / 0.7667 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.7279, allocations: 1.895 MB / 0.7686 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.7279, allocations: 0 / 0.7686 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7279, allocations: 3.938 kB / 0.7686 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.631e-05/0.728, allocations: 8 kB / 0.7686 GB, free: 1.754 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00341/0.7314, allocations: 2.348 MB / 0.7709 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.7314, allocations: 8.031 kB / 0.7709 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.7316, allocations: 114.7 kB / 0.771 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002669/0.7318, allocations: 245.5 kB / 0.7712 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.7331, allocations: 1.03 MB / 0.7722 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.7333, allocations: 91 kB / 0.7723 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.7334, allocations: 75.98 kB / 0.7724 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.7347, allocations: 0.7767 MB / 0.7731 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.7348, allocations: 3.984 kB / 0.7731 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/0.7348, allocations: 31.98 kB / 0.7732 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.7349, allocations: 19.94 kB / 0.7732 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.7361, allocations: 0.6375 MB / 0.7738 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004726/0.7408, allocations: 3.737 MB / 0.7775 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.7424, allocations: 0.7487 MB / 0.7782 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007783/0.7432, allocations: 426.1 kB / 0.7786 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.7432, allocations: 8.562 kB / 0.7786 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007877/0.744, allocations: 460 kB / 0.779 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.936e-06/0.7441, allocations: 0 / 0.779 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.004257/0.7483, allocations: 1.835 MB / 0.7808 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.7484, allocations: 60.06 kB / 0.7809 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/0.7518, allocations: 3.366 MB / 0.7842 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.7519, allocations: 49.69 kB / 0.7842 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007614/0.7527, allocations: 0.9252 MB / 0.7851 GB, free: 252 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.7529, allocations: 236.7 kB / 0.7854 GB, free: 12 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.7531, allocations: 134.8 kB / 0.7855 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.7533, allocations: 349.8 kB / 0.7858 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000674/0.754, allocations: 317.8 kB / 0.7861 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007498/0.7547, allocations: 469 kB / 0.7866 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.756, allocations: 0.747 MB / 0.7873 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.756, allocations: 0 / 0.7873 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002303/0.7583, allocations: 1.25 MB / 0.7885 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.7584, allocations: 8 kB / 0.7885 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.7584, allocations: 4 kB / 0.7885 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006828/0.7591, allocations: 265.5 kB / 0.7888 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.7596, allocations: 135.8 kB / 0.7889 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004647/0.7642, allocations: 4.763 MB / 0.7936 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/0.765, allocations: 103.2 kB / 0.7937 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.7651, allocations: 28 kB / 0.7937 GB, free: 7.09 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.0007688/0.7658, allocations: 0.6069 MB / 0.7943 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.7661, allocations: 209.3 kB / 0.7945 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.7664, allocations: 265.1 kB / 0.7947 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.7664, allocations: 8 kB / 0.7947 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.7664, allocations: 4 kB / 0.7947 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.7664, allocations: 3.984 kB / 0.7947 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/0.77, allocations: 2.404 MB / 0.7971 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.7701, allocations: 0 / 0.7971 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.7704, allocations: 71.89 kB / 0.7972 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006026/0.771, allocations: 252.1 kB / 0.7974 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.7711, allocations: 19.92 kB / 0.7974 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004449/0.7755, allocations: 4.752 MB / 0.8021 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7755, allocations: 3.984 kB / 0.8021 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/0.7783, allocations: 1.629 MB / 0.8037 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004133/0.7787, allocations: 326.2 kB / 0.804 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.7789, allocations: 23.92 kB / 0.804 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.7794, allocations: 35.97 kB / 0.804 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.7795, allocations: 80.48 kB / 0.8041 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/0.7796, allocations: 27.98 kB / 0.8041 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002484/0.7821, allocations: 2.46 MB / 0.8065 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7821, allocations: 0 / 0.8065 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009652/0.7831, allocations: 299.5 kB / 0.8068 GB, free: 9.223 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.003964/0.787, allocations: 2.565 MB / 0.8093 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002311/0.7894, allocations: 1.183 MB / 0.8105 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7894, allocations: 0 / 0.8105 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.7905, allocations: 0.7183 MB / 0.8112 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.7918, allocations: 293.4 kB / 0.8115 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/0.8114, allocations: 16.02 MB / 0.8271 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.8126, allocations: 1.556 MB / 0.8286 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004934/0.8131, allocations: 162.6 kB / 0.8288 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007415/0.8138, allocations: 0.7453 MB / 0.8295 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of SimCode: time 8.21e-07/0.8138, allocations: 0 / 0.8295 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3168/1.131, allocations: 33.55 MB / 0.8623 GB, free: 225.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.733/10.86, allocations: 6.047 kB / 0.8623 GB, free: 225.9 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)