Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001674/0.001674, allocations: 195.5 kB / 16.14 MB, free: 6.641 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002662/0.002663, allocations: 290.3 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.097/1.097, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002707, allocations: 100 kB / 0.6057 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.179, allocations: 89.15 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.4267/0.6057, allocations: 80.65 MB / 0.7716 GB, free: 24.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02539/0.6311, allocations: 19.34 MB / 0.7904 GB, free: 22.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005179/0.6364, allocations: 96.25 kB / 0.7905 GB, free: 22.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00407/0.6405, allocations: 1.121 MB / 0.7916 GB, free: 21.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008193/0.6487, allocations: 2.609 MB / 0.7942 GB, free: 20.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005593/0.6543, allocations: 2.015 MB / 0.7961 GB, free: 19.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008567/0.6629, allocations: 7.127 MB / 0.8031 GB, free: 17.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003426/0.6664, allocations: 2.262 MB / 0.8053 GB, free: 16.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00389/0.6703, allocations: 1.831 MB / 0.8071 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.6731, allocations: 1.652 MB / 0.8087 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005574/0.6737, allocations: 137.2 kB / 0.8088 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004356/0.678, allocations: 1.474 MB / 0.8103 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000738/0.6788, allocations: 0.6099 MB / 0.8109 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00186/0.6807, allocations: 1.347 MB / 0.8122 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005774/0.6865, allocations: 4.967 MB / 0.817 GB, free: 9.621 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6865, allocations: 0 / 0.817 GB, free: 9.621 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6865, allocations: 0 / 0.817 GB, free: 9.621 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.715e-05/0.6866, allocations: 0 / 0.817 GB, free: 9.621 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.004973/0.6916, allocations: 3.305 MB / 0.8203 GB, free: 7.141 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.6916, allocations: 8.531 kB / 0.8203 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.6927, allocations: 382.3 kB / 0.8206 GB, free: 6.957 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/0.6962, allocations: 2.596 MB / 0.8232 GB, free: 5.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.6963, allocations: 145.5 kB / 0.8233 GB, free: 4.957 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.6965, allocations: 185.6 kB / 0.8235 GB, free: 4.895 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0027/0.6992, allocations: 1.829 MB / 0.8253 GB, free: 3.762 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.453e-05/0.6993, allocations: 0 / 0.8253 GB, free: 3.762 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.6994, allocations: 72.62 kB / 0.8254 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/0.6995, allocations: 48.25 kB / 0.8254 GB, free: 3.703 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.7016, allocations: 1.346 MB / 0.8267 GB, free: 3.035 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.008997/0.7106, allocations: 7.914 MB / 0.8344 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.7126, allocations: 0.9183 MB / 0.8353 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006084/0.7133, allocations: 342.1 kB / 0.8357 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009742/0.7143, allocations: 1.157 MB / 0.8368 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008359/0.7151, allocations: 404.3 kB / 0.8372 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 2.255e-06/0.7151, allocations: 1.422 kB / 0.8372 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002479/0.7176, allocations: 1.087 MB / 0.8382 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.7177, allocations: 136 kB / 0.8384 GB, free: 9.469 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00289/0.7206, allocations: 2.056 MB / 0.8404 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.7207, allocations: 49.69 kB / 0.8404 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.7219, allocations: 1.194 MB / 0.8416 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.7222, allocations: 236.8 kB / 0.8418 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.7226, allocations: 218.4 kB / 0.842 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.7227, allocations: 345.9 kB / 0.8424 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007066/0.7235, allocations: 329.8 kB / 0.8427 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.7246, allocations: 0.6763 MB / 0.8433 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.7262, allocations: 0.9369 MB / 0.8442 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.7263, allocations: 4 kB / 0.8443 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002792/0.7291, allocations: 1.198 MB / 0.8454 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.7291, allocations: 8.531 kB / 0.8454 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.7291, allocations: 8 kB / 0.8454 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.153e-05/0.7292, allocations: 19.98 kB / 0.8455 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007553/0.7299, allocations: 207.7 kB / 0.8457 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/0.73, allocations: 19.92 kB / 0.8457 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.7317, allocations: 198.7 kB / 0.8459 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.29e-05/0.7318, allocations: 47.98 kB / 0.8459 GB, free: 2.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.tabMea.nextTimeEvent,$whenCondition1,heaPum.conHea.y,tabMea.nextTimeEventScaled,$PRE.tabMea.nextTimeEventScaled,tabMea.nextTimeEvent,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 (118): * Single equations (assignments): 118 * 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.001144/0.7329, allocations: 0.5678 MB / 0.8465 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004436/0.7334, allocations: 221.3 kB / 0.8467 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.7356, allocations: 1.026 MB / 0.8477 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.7356, allocations: 16 kB / 0.8477 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7356, allocations: 0 / 0.8477 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001518/0.7371, allocations: 0.8092 MB / 0.8485 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005158/0.7423, allocations: 2.864 MB / 0.8513 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.7423, allocations: 0 / 0.8513 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/0.743, allocations: 143.9 kB / 0.8514 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/0.743, allocations: 7.984 kB / 0.8514 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-05/0.7431, allocations: 23.98 kB / 0.8514 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.7431, allocations: 4 kB / 0.8514 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.7431, allocations: 0 / 0.8514 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003167/0.7463, allocations: 1.477 MB / 0.8529 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009914/0.7473, allocations: 398.2 kB / 0.8533 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/0.7476, allocations: 24 kB / 0.8533 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009936/0.7486, allocations: 91.81 kB / 0.8534 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.7487, allocations: 64.41 kB / 0.8534 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-05/0.7488, allocations: 35.97 kB / 0.8535 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002325/0.7512, allocations: 1.4 MB / 0.8548 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7512, allocations: 0 / 0.8548 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00205/0.7532, allocations: 0.6466 MB / 0.8555 GB, free: 8.605 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum.refCycIneCon.criDam.x[1],heaPum.refCycIneCon.criDam.x[2],heaPum.refCycIneEva.criDam.x[1],heaPum.refCycIneEva.criDam.x[2]) * Number of discrete variables: 5 ($whenCondition1,heaPum.hys.y,heaPum.eff.hys.y,tabMea.nextTimeEvent,tabMea.nextTimeEventScaled) * Number of discrete states: 4 (tabMea.nextTimeEvent,tabMea.nextTimeEventScaled,heaPum.hys.y,heaPum.eff.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.00353/0.7568, allocations: 1.113 MB / 0.8566 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002171/0.759, allocations: 0.8285 MB / 0.8574 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.759, allocations: 7.938 kB / 0.8574 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008795/0.7599, allocations: 399 kB / 0.8578 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004595/0.7645, allocations: 0.8758 MB / 0.8586 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007648/0.7721, allocations: 4.909 MB / 0.8634 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/0.7735, allocations: 1.6 MB / 0.865 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001792/0.7753, allocations: 398.4 kB / 0.8654 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/0.7758, allocations: 175.3 kB / 0.8655 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of SimCode: time 1.533e-06/0.7758, allocations: 0 / 0.8655 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of Templates: time 0.06502/0.8408, allocations: 35.25 MB / 0.8999 GB, free: 11.88 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1)