Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 104.2 kB / 15.98 MB, free: 6.34 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.001857/0.001857, allocations: 198 kB / 16.91 MB, free: 6.184 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.415/1.415, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8365/0.8365, allocations: 126.1 MB / 416.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.91 kB / 0.4945 GB, free: 3.875 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3779, allocations: 78.69 MB / 0.5713 GB, free: 30.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D): time 0.07168/0.4496, allocations: 80.28 MB / 0.6497 GB, free: 6.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02672/0.4764, allocations: 18.15 MB / 0.6675 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005632/0.4821, allocations: 91.5 kB / 0.6675 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00414/0.4862, allocations: 1.158 MB / 0.6687 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008928/0.4952, allocations: 2.651 MB / 0.6713 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005809/0.5011, allocations: 1.894 MB / 0.6731 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008361/0.5094, allocations: 5.535 MB / 0.6785 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004703/0.5142, allocations: 2.517 MB / 0.681 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005738/0.5199, allocations: 2.142 MB / 0.6831 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003147/0.5231, allocations: 1.731 MB / 0.6848 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.5242, allocations: 296 kB / 0.685 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006081/0.5303, allocations: 1.989 MB / 0.687 GB, free: 104 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001479/0.5318, allocations: 0.7126 MB / 0.6877 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003001/0.5348, allocations: 1.45 MB / 0.6891 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008467/0.5433, allocations: 4.966 MB / 0.6939 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5434, allocations: 0 / 0.6939 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5434, allocations: 0 / 0.6939 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001344/0.5435, allocations: 0 / 0.6939 GB, free: 8.949 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.007235/0.5507, allocations: 3.143 MB / 0.697 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5508, allocations: 16.03 kB / 0.697 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.552, allocations: 360.4 kB / 0.6974 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004125/0.5561, allocations: 2.462 MB / 0.6998 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.5562, allocations: 131.2 kB / 0.6999 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/0.5565, allocations: 171.9 kB / 0.7001 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003343/0.5598, allocations: 1.723 MB / 0.7017 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/0.5599, allocations: 0 / 0.7017 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.56, allocations: 68 kB / 0.7018 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/0.5601, allocations: 44 kB / 0.7019 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002931/0.563, allocations: 1.257 MB / 0.7031 GB, free: 15.38 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009714/0.5727, allocations: 7.396 MB / 0.7103 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.5744, allocations: 0.7456 MB / 0.711 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00075/0.5752, allocations: 362.3 kB / 0.7114 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008699/0.5761, allocations: 1.148 MB / 0.7125 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.5761, allocations: 47.06 kB / 0.7125 GB, free: 5.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=58): time 2.364e-06/0.5761, allocations: 0 / 0.7125 GB, free: 5.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=58): time 0.002585/0.5787, allocations: 1.035 MB / 0.7136 GB, free: 3.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.5788, allocations: 111.4 kB / 0.7137 GB, free: 3.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/0.5814, allocations: 1.984 MB / 0.7156 GB, free: 1.824 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.913e-05/0.5815, allocations: 49.7 kB / 0.7156 GB, free: 1.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000947/0.5824, allocations: 1.074 MB / 0.7167 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.5826, allocations: 209.1 kB / 0.7169 GB, free: 488 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.5829, allocations: 194.4 kB / 0.7171 GB, free: 288 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5831, allocations: 337.9 kB / 0.7174 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007122/0.5838, allocations: 320.7 kB / 0.7177 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009735/0.5848, allocations: 0.6429 MB / 0.7183 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.5863, allocations: 0.862 MB / 0.7192 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.5864, allocations: 4 kB / 0.7192 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002263/0.5886, allocations: 1.084 MB / 0.7202 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5887, allocations: 11.94 kB / 0.7203 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.5887, allocations: 8.531 kB / 0.7203 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.5887, allocations: 16 kB / 0.7203 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007617/0.5895, allocations: 203.7 kB / 0.7205 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.5895, allocations: 19.92 kB / 0.7205 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.5909, allocations: 200.4 kB / 0.7207 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/0.591, allocations: 39.98 kB / 0.7207 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001428/0.5924, allocations: 0.7605 MB / 0.7215 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001002/0.5934, allocations: 0.6389 MB / 0.7221 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001546/0.595, allocations: 0.8581 MB / 0.7229 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.609e-06/0.595, allocations: 7.875 kB / 0.7229 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.002201/0.5972, allocations: 1.08 MB / 0.724 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.5972, allocations: 8 kB / 0.724 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.5973, allocations: 8.531 kB / 0.724 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.5973, allocations: 12 kB / 0.724 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007897/0.5981, allocations: 211.7 kB / 0.7242 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.5981, allocations: 23.86 kB / 0.7242 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.5996, allocations: 177.5 kB / 0.7244 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/0.5996, allocations: 36 kB / 0.7244 GB, free: 8.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 5 (heaPum.conHea.y,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003031/0.5999, allocations: 247.9 kB / 0.7247 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003403/0.6003, allocations: 209.5 kB / 0.7249 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.6025, allocations: 1.01 MB / 0.7259 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.6026, allocations: 8 kB / 0.7259 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6026, allocations: 0 / 0.7259 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001448/0.604, allocations: 0.7632 MB / 0.7266 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004833/0.6089, allocations: 2.794 MB / 0.7293 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.6089, allocations: 4 kB / 0.7293 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/0.6095, allocations: 132.3 kB / 0.7295 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.6095, allocations: 8 kB / 0.7295 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.6095, allocations: 23.92 kB / 0.7295 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.6095, allocations: 4 kB / 0.7295 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.6096, allocations: 4 kB / 0.7295 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.6124, allocations: 1.472 MB / 0.7309 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006673/0.613, allocations: 374.3 kB / 0.7313 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/0.6134, allocations: 23.92 kB / 0.7313 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.6146, allocations: 91.88 kB / 0.7314 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.6148, allocations: 72.22 kB / 0.7315 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.548e-05/0.6148, allocations: 31.98 kB / 0.7315 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002575/0.6174, allocations: 1.388 MB / 0.7329 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6174, allocations: 0 / 0.7329 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003052/0.6205, allocations: 0.9775 MB / 0.7338 GB, free: 14.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 2 (heaPum.hys.y,heaPum.eff.hys.y) * Number of discrete states: 2 (heaPum.eff.hys.y,heaPum.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002151/0.6227, allocations: 0.7743 MB / 0.7346 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003505/0.6262, allocations: 1.29 MB / 0.7358 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.6262, allocations: 7.938 kB / 0.7358 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009409/0.6271, allocations: 407.3 kB / 0.7362 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004586/0.6317, allocations: 0.9371 MB / 0.7372 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007574/0.6393, allocations: 4.473 MB / 0.7415 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/0.6407, allocations: 1.51 MB / 0.743 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0019/0.6426, allocations: 437 kB / 0.7434 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/0.6431, allocations: 159.4 kB / 0.7436 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of SimCode: time 7.81e-07/0.6431, allocations: 0 / 0.7436 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of Templates: time 0.3079/0.951, allocations: 36.7 MB / 0.7794 GB, free: 145 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe 2>&1)