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.002043/0.002043, allocations: 106.7 kB / 16.27 MB, free: 6.41 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.002016/0.002016, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002579/0.002579, allocations: 296.4 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.221/1.221, allocations: 178.5 MB / 0.5079 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 95.84 kB / 0.6071 GB, free: 9.27 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1915, allocations: 89.14 MB / 0.6942 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.3977/0.5893, allocations: 81.25 MB / 0.7735 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03108/0.6204, allocations: 19.47 MB / 0.7925 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005417/0.6258, allocations: 103.9 kB / 0.7926 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004252/0.6301, allocations: 1.326 MB / 0.7939 GB, free: 116 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009349/0.6395, allocations: 2.846 MB / 0.7967 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006799/0.6464, allocations: 2.21 MB / 0.7989 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01017/0.6565, allocations: 5.719 MB / 0.8044 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004949/0.6615, allocations: 2.642 MB / 0.807 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006239/0.6678, allocations: 2.188 MB / 0.8092 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003974/0.6718, allocations: 1.711 MB / 0.8108 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008178/0.6726, allocations: 307 kB / 0.8111 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005394/0.678, allocations: 1.701 MB / 0.8128 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.6793, allocations: 0.7805 MB / 0.8135 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002864/0.6822, allocations: 1.524 MB / 0.815 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009351/0.6915, allocations: 5.08 MB / 0.82 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.6916, allocations: 1.656 kB / 0.82 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.045e-06/0.6916, allocations: 0 / 0.82 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001257/0.6917, allocations: 0 / 0.82 GB, free: 2.906 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.008249/0.7, allocations: 3.304 MB / 0.8232 GB, free: 404 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.7, allocations: 8.625 kB / 0.8232 GB, free: 404 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.7015, allocations: 378.6 kB / 0.8236 GB, free: 220 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004987/0.7065, allocations: 2.55 MB / 0.8261 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.7067, allocations: 143.4 kB / 0.8262 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002923/0.707, allocations: 193.8 kB / 0.8264 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/0.7106, allocations: 1.829 MB / 0.8282 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/0.7106, allocations: 6.344 kB / 0.8282 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/0.7108, allocations: 72.41 kB / 0.8283 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.018e-05/0.7108, allocations: 47.64 kB / 0.8283 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00269/0.7135, allocations: 1.351 MB / 0.8296 GB, free: 12.26 MB / 0.5919 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.01169/0.7253, allocations: 7.96 MB / 0.8374 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.7273, allocations: 0.9068 MB / 0.8383 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000593/0.7279, allocations: 344.3 kB / 0.8386 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009956/0.7289, allocations: 1.155 MB / 0.8397 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008096/0.7297, allocations: 409.3 kB / 0.8401 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 2.855e-06/0.7297, allocations: 0 / 0.8401 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.002619/0.7324, allocations: 1.082 MB / 0.8412 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.707e-05/0.7325, allocations: 145.1 kB / 0.8413 GB, free: 2.59 MB / 0.5919 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.003277/0.7358, allocations: 2.079 MB / 0.8434 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.7359, allocations: 49.69 kB / 0.8434 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.7371, allocations: 1.179 MB / 0.8446 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.7375, allocations: 244.7 kB / 0.8448 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003286/0.7378, allocations: 214.4 kB / 0.845 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.738, allocations: 345.9 kB / 0.8453 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/0.7386, allocations: 337.8 kB / 0.8457 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.7397, allocations: 0.6684 MB / 0.8463 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.7412, allocations: 0.9351 MB / 0.8472 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.7412, allocations: 4 kB / 0.8472 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002449/0.7437, allocations: 1.206 MB / 0.8484 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.7437, allocations: 8 kB / 0.8484 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.7438, allocations: 8 kB / 0.8484 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.7438, allocations: 12 kB / 0.8484 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.7445, allocations: 207.7 kB / 0.8486 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/0.7445, allocations: 24.31 kB / 0.8486 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.746, allocations: 155.8 kB / 0.8488 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.7461, allocations: 44 kB / 0.8488 GB, free: 10.72 MB / 0.6075 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.001129/0.7473, allocations: 0.5761 MB / 0.8494 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003874/0.7476, allocations: 213.4 kB / 0.8496 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.7497, allocations: 1.029 MB / 0.8506 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.7498, allocations: 8 kB / 0.8506 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7498, allocations: 3.938 kB / 0.8506 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001415/0.7512, allocations: 0.8085 MB / 0.8514 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00487/0.7561, allocations: 2.877 MB / 0.8542 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.7561, allocations: 0 / 0.8542 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.7567, allocations: 139.9 kB / 0.8544 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.7567, allocations: 4 kB / 0.8544 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.7568, allocations: 27.98 kB / 0.8544 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.7568, allocations: 4 kB / 0.8544 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7568, allocations: 0 / 0.8544 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.7594, allocations: 1.484 MB / 0.8558 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007661/0.7602, allocations: 398.3 kB / 0.8562 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/0.7604, allocations: 20 kB / 0.8562 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008157/0.7613, allocations: 60.06 kB / 0.8563 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.7614, allocations: 60.42 kB / 0.8563 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.178e-05/0.7615, allocations: 35.97 kB / 0.8564 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002177/0.7637, allocations: 1.416 MB / 0.8578 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7637, allocations: 4 kB / 0.8578 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002078/0.7658, allocations: 0.6543 MB / 0.8584 GB, free: 0.7227 MB / 0.6075 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.003554/0.7693, allocations: 1.135 MB / 0.8595 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002256/0.7716, allocations: 0.941 MB / 0.8604 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7716, allocations: 3.938 kB / 0.8604 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007404/0.7724, allocations: 408.4 kB / 0.8608 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004256/0.7766, allocations: 0.8964 MB / 0.8617 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007156/0.7838, allocations: 4.014 MB / 0.8656 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.7852, allocations: 1.584 MB / 0.8672 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006418/0.7859, allocations: 183.4 kB / 0.8673 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of SimCode: time 8.71e-07/0.7859, allocations: 0 / 0.8673 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of Templates: time 0.05959/0.8455, allocations: 37.09 MB / 0.9036 GB, free: 3.051 MB / 0.6544 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)