Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TestCase5,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IDEAS_dev_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.00106/0.00106, 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.001069/0.001069, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9333/0.9333, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.8 kB / 0.5055 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1366, allocations: 80.93 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.3696/0.5062, allocations: 157.2 MB / 0.738 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02447/0.5307, allocations: 21.99 MB / 0.7595 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.5328, allocations: 57.19 kB / 0.7595 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.5351, allocations: 2.155 MB / 0.7616 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002004/0.5371, allocations: 1.421 MB / 0.763 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.5385, allocations: 0.5763 MB / 0.7636 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001874/0.5404, allocations: 1.825 MB / 0.7654 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.5416, allocations: 1.094 MB / 0.7664 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.5426, allocations: 0.8764 MB / 0.7673 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.5441, allocations: 1.526 MB / 0.7688 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.5443, allocations: 92 kB / 0.7689 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.5447, allocations: 139.9 kB / 0.769 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004034/0.5451, allocations: 0.5277 MB / 0.7695 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006176/0.5457, allocations: 0.7641 MB / 0.7703 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.5472, allocations: 1.821 MB / 0.7721 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5473, allocations: 0 / 0.7721 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5473, allocations: 0 / 0.7721 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.013e-05/0.5473, allocations: 0 / 0.7721 GB, free: 12.59 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003104/0.5504, allocations: 2.288 MB / 0.7743 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.5504, allocations: 12.03 kB / 0.7743 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.5506, allocations: 106.7 kB / 0.7744 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.5508, allocations: 226.1 kB / 0.7746 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.552, allocations: 1.003 MB / 0.7756 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.5522, allocations: 91 kB / 0.7757 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-05/0.5523, allocations: 60 kB / 0.7757 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.5535, allocations: 0.7251 MB / 0.7765 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.5536, allocations: 7.844 kB / 0.7765 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/0.5536, allocations: 31.98 kB / 0.7765 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.5536, allocations: 12 kB / 0.7765 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.5548, allocations: 0.5945 MB / 0.7771 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004569/0.5594, allocations: 3.525 MB / 0.7805 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.5609, allocations: 0.706 MB / 0.7812 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007397/0.5617, allocations: 410.3 kB / 0.7816 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.245e-05/0.5617, allocations: 8.562 kB / 0.7816 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007718/0.5625, allocations: 438.8 kB / 0.782 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.725e-06/0.5625, allocations: 0 / 0.782 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.004264/0.5668, allocations: 1.804 MB / 0.7838 GB, free: 84 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.5669, allocations: 59.97 kB / 0.7839 GB, free: 12 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/0.5702, allocations: 3.312 MB / 0.7871 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/0.5703, allocations: 41.7 kB / 0.7871 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000745/0.571, allocations: 0.8899 MB / 0.788 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.5712, allocations: 216.9 kB / 0.7882 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.5715, allocations: 134.7 kB / 0.7883 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5716, allocations: 337.9 kB / 0.7887 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006538/0.5722, allocations: 305.8 kB / 0.7889 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007149/0.573, allocations: 434.4 kB / 0.7894 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.5742, allocations: 0.7268 MB / 0.7901 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5743, allocations: 0 / 0.7901 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002276/0.5765, allocations: 1.208 MB / 0.7912 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.5766, allocations: 8 kB / 0.7913 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.5766, allocations: 96 / 0.7913 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007121/0.5773, allocations: 268.1 kB / 0.7915 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.5778, allocations: 131.8 kB / 0.7916 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004878/0.5827, allocations: 4.755 MB / 0.7963 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006243/0.5834, allocations: 95.17 kB / 0.7964 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.5834, allocations: 32 kB / 0.7964 GB, free: 2.73 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.0007855/0.5842, allocations: 0.6107 MB / 0.797 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.5845, allocations: 201.4 kB / 0.7972 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.5849, allocations: 256.5 kB / 0.7974 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5849, allocations: 4 kB / 0.7974 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.5849, allocations: 4 kB / 0.7974 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.5849, allocations: 11.91 kB / 0.7975 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003791/0.5887, allocations: 2.342 MB / 0.7997 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5887, allocations: 0 / 0.7997 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.5891, allocations: 59.91 kB / 0.7998 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006469/0.5897, allocations: 257.5 kB / 0.8 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/0.5898, allocations: 19.98 kB / 0.8001 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004785/0.5946, allocations: 4.749 MB / 0.8047 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5946, allocations: 0 / 0.8047 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.5974, allocations: 1.575 MB / 0.8062 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004732/0.5979, allocations: 314.4 kB / 0.8065 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.5981, allocations: 27.92 kB / 0.8066 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/0.5986, allocations: 35.97 kB / 0.8066 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.5988, allocations: 72.45 kB / 0.8067 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/0.5989, allocations: 31.98 kB / 0.8067 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002702/0.6016, allocations: 2.415 MB / 0.8091 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6016, allocations: 4 kB / 0.8091 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009543/0.6026, allocations: 288.3 kB / 0.8093 GB, free: 5.055 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.004089/0.6067, allocations: 2.523 MB / 0.8118 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002356/0.609, allocations: 1.151 MB / 0.8129 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6091, allocations: 4 kB / 0.8129 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.6102, allocations: 0.6826 MB / 0.8136 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.6116, allocations: 284.2 kB / 0.8139 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/0.6328, allocations: 15.52 MB / 0.829 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.6343, allocations: 1.532 MB / 0.8305 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004866/0.6348, allocations: 150.4 kB / 0.8307 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007676/0.6356, allocations: 0.7062 MB / 0.8313 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/0.6356, allocations: 0 / 0.8313 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.282/0.9176, allocations: 32.34 MB / 0.8629 GB, free: 214.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.595/10.51, allocations: 6.438 kB / 0.8629 GB, free: 214.9 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)