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.0013/0.0013, allocations: 115.8 kB / 17.09 MB, free: 5.988 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.001256/0.001256, allocations: 193.8 kB / 18.02 MB, free: 5.066 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.268/1.268, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7582/0.7582, allocations: 126.1 MB / 417.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 72.28 kB / 0.5738 GB, free: 27.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.148, allocations: 78.69 MB / 0.6507 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D): time 0.07026/0.2183, allocations: 81.05 MB / 0.7298 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02502/0.2433, allocations: 18.43 MB / 0.7478 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004409/0.2478, allocations: 99.5 kB / 0.7479 GB, free: 132 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.3557/0.6035, allocations: 1.315 MB / 0.7492 GB, free: 20.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008248/0.6118, allocations: 2.997 MB / 0.7521 GB, free: 20.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005119/0.6169, allocations: 2.087 MB / 0.7542 GB, free: 20.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009433/0.6264, allocations: 5.515 MB / 0.7595 GB, free: 20.38 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00454/0.631, allocations: 2.54 MB / 0.762 GB, free: 20.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005937/0.6369, allocations: 2.191 MB / 0.7642 GB, free: 19.97 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0038/0.6408, allocations: 1.687 MB / 0.7658 GB, free: 19.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006514/0.6414, allocations: 295.3 kB / 0.7661 GB, free: 19.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005372/0.6468, allocations: 1.973 MB / 0.768 GB, free: 19.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007958/0.6476, allocations: 0.712 MB / 0.7687 GB, free: 19.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002067/0.6497, allocations: 1.449 MB / 0.7701 GB, free: 19.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007083/0.6568, allocations: 5.037 MB / 0.7751 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.6568, allocations: 5.156 kB / 0.7751 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6568, allocations: 0 / 0.7751 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.115e-05/0.6569, allocations: 0 / 0.7751 GB, free: 18.52 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.005756/0.6627, allocations: 3.228 MB / 0.7782 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.6627, allocations: 10.69 kB / 0.7782 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.6639, allocations: 381.9 kB / 0.7786 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003769/0.6676, allocations: 2.51 MB / 0.781 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.721e-05/0.6677, allocations: 129.6 kB / 0.7812 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.668, allocations: 166.7 kB / 0.7813 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.6708, allocations: 1.72 MB / 0.783 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.6709, allocations: 5.938 kB / 0.783 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.671, allocations: 68.97 kB / 0.7831 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/0.6711, allocations: 41.41 kB / 0.7831 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.6733, allocations: 1.256 MB / 0.7843 GB, free: 15.92 MB / 0.5762 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.007472/0.6808, allocations: 7.385 MB / 0.7916 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.6822, allocations: 0.7429 MB / 0.7923 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/0.6828, allocations: 360.4 kB / 0.7926 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/0.6834, allocations: 1.162 MB / 0.7938 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.6834, allocations: 39.44 kB / 0.7938 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=58): time 3.216e-06/0.6834, allocations: 3.984 kB / 0.7938 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58): time 0.002301/0.6858, allocations: 1.051 MB / 0.7948 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.6858, allocations: 108.9 kB / 0.7949 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.688, allocations: 2.005 MB / 0.7969 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.54e-05/0.6881, allocations: 48 kB / 0.7969 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007065/0.6888, allocations: 1.09 MB / 0.798 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.689, allocations: 215.2 kB / 0.7982 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.6892, allocations: 192.9 kB / 0.7984 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.6893, allocations: 337.9 kB / 0.7987 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.6899, allocations: 330.2 kB / 0.799 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007935/0.6907, allocations: 0.6348 MB / 0.7996 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.692, allocations: 0.8647 MB / 0.8005 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.692, allocations: 0.6875 kB / 0.8005 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002011/0.694, allocations: 1.09 MB / 0.8016 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.6941, allocations: 13.44 kB / 0.8016 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.6941, allocations: 11.41 kB / 0.8016 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/0.6941, allocations: 15.19 kB / 0.8016 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000704/0.6948, allocations: 207.1 kB / 0.8018 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.6948, allocations: 17.7 kB / 0.8018 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.6961, allocations: 164.4 kB / 0.802 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.759e-05/0.6962, allocations: 38.95 kB / 0.802 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00133/0.6976, allocations: 0.7662 MB / 0.8027 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000755/0.6983, allocations: 0.6278 MB / 0.8034 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001249/0.6996, allocations: 0.8608 MB / 0.8042 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.789e-06/0.6996, allocations: 3.188 kB / 0.8042 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.002039/0.7016, allocations: 1.094 MB / 0.8053 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.7017, allocations: 9.891 kB / 0.8053 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.7017, allocations: 11.97 kB / 0.8053 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.7017, allocations: 18.72 kB / 0.8053 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000682/0.7024, allocations: 207.9 kB / 0.8055 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.7024, allocations: 13.84 kB / 0.8055 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.7038, allocations: 137.5 kB / 0.8057 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.7039, allocations: 40.38 kB / 0.8057 GB, free: 0.8516 MB / 0.5762 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.0002549/0.7041, allocations: 240.2 kB / 0.8059 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.7044, allocations: 220.1 kB / 0.8061 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.7065, allocations: 1.009 MB / 0.8071 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.7066, allocations: 9.594 kB / 0.8071 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.7066, allocations: 0 / 0.8071 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001308/0.7079, allocations: 0.763 MB / 0.8079 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004789/0.7127, allocations: 2.804 MB / 0.8106 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.7127, allocations: 2.812 kB / 0.8106 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/0.7132, allocations: 128.9 kB / 0.8107 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.7133, allocations: 7.656 kB / 0.8107 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.891e-05/0.7133, allocations: 24.3 kB / 0.8108 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.7133, allocations: 5.469 kB / 0.8108 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.7133, allocations: 6.062 kB / 0.8108 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/0.7159, allocations: 1.476 MB / 0.8122 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006831/0.7166, allocations: 383.5 kB / 0.8126 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.7169, allocations: 23.94 kB / 0.8126 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000846/0.7177, allocations: 71.97 kB / 0.8127 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.7179, allocations: 55.17 kB / 0.8127 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.017e-05/0.718, allocations: 47.56 kB / 0.8128 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001914/0.7199, allocations: 1.399 MB / 0.8141 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7199, allocations: 0 / 0.8141 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002433/0.7223, allocations: 0.9972 MB / 0.8151 GB, free: 9.188 MB / 0.5919 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.001653/0.724, allocations: 0.8006 MB / 0.8159 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00267/0.7267, allocations: 1.243 MB / 0.8171 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.7267, allocations: 4 kB / 0.8171 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008347/0.7275, allocations: 412.4 kB / 0.8175 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003854/0.7314, allocations: 0.9259 MB / 0.8184 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005687/0.7371, allocations: 3.674 MB / 0.822 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.7382, allocations: 1.506 MB / 0.8235 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/0.7387, allocations: 170 kB / 0.8236 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of SimCode: time 7.42e-07/0.7387, allocations: 0 / 0.8236 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of Templates: time 0.04851/0.7872, allocations: 36.06 MB / 0.8588 GB, free: 12.98 MB / 0.6387 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)