Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001594/0.001594, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7891/0.7891, allocations: 122.9 MB / 414.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.42 kB / 0.5685 GB, free: 28.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1716, allocations: 77.94 MB / 0.6446 GB, free: 8.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07391/0.2456, allocations: 75.2 MB / 0.7181 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02127/0.2669, allocations: 15.16 MB / 0.7329 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00293/0.2699, allocations: 67.62 kB / 0.7329 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002743/0.2726, allocations: 0.8306 MB / 0.7337 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007636/0.2803, allocations: 2.589 MB / 0.7363 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.2842, allocations: 1.394 MB / 0.7376 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006994/0.2912, allocations: 4.403 MB / 0.7419 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002551/0.2938, allocations: 1.449 MB / 0.7433 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004182/0.298, allocations: 1.628 MB / 0.7449 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.3004, allocations: 1.225 MB / 0.7461 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000324/0.3007, allocations: 164 kB / 0.7463 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.354/0.6547, allocations: 1.416 MB / 0.7477 GB, free: 32.88 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005742/0.6553, allocations: 396.8 kB / 0.748 GB, free: 32.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001411/0.6567, allocations: 0.9064 MB / 0.7489 GB, free: 32.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005216/0.6619, allocations: 2.888 MB / 0.7518 GB, free: 32.72 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.662, allocations: 0.75 kB / 0.7518 GB, free: 32.72 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.662, allocations: 0 / 0.7518 GB, free: 32.72 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.016e-05/0.662, allocations: 1.031 kB / 0.7518 GB, free: 32.72 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00436/0.6664, allocations: 2.14 MB / 0.7538 GB, free: 31.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.6664, allocations: 11.92 kB / 0.7539 GB, free: 31.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009232/0.6674, allocations: 241.5 kB / 0.7541 GB, free: 31.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.6702, allocations: 1.529 MB / 0.7556 GB, free: 31.11 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/0.6703, allocations: 82.33 kB / 0.7557 GB, free: 31.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.6705, allocations: 100.8 kB / 0.7558 GB, free: 31.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.6728, allocations: 1.099 MB / 0.7568 GB, free: 30.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.6729, allocations: 4.625 kB / 0.7568 GB, free: 30.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-05/0.673, allocations: 40.91 kB / 0.7569 GB, free: 30.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.194e-05/0.673, allocations: 26.69 kB / 0.7569 GB, free: 30.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.6751, allocations: 0.8939 MB / 0.7578 GB, free: 30.97 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.006205/0.6813, allocations: 4.911 MB / 0.7626 GB, free: 28.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.6827, allocations: 0.629 MB / 0.7632 GB, free: 28.76 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008101/0.6835, allocations: 350.2 kB / 0.7635 GB, free: 28.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004629/0.684, allocations: 0.8315 MB / 0.7643 GB, free: 27.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.684, allocations: 47.34 kB / 0.7644 GB, free: 27.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.595e-06/0.684, allocations: 0 / 0.7644 GB, free: 27.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.005051/0.6891, allocations: 1.412 MB / 0.7657 GB, free: 27.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.6891, allocations: 58.84 kB / 0.7658 GB, free: 27.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.691, allocations: 1.23 MB / 0.767 GB, free: 27.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.773e-05/0.6911, allocations: 41.64 kB / 0.767 GB, free: 27.26 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/0.6916, allocations: 0.6074 MB / 0.7676 GB, free: 27.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.6918, allocations: 231 kB / 0.7679 GB, free: 26.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.692, allocations: 157.3 kB / 0.768 GB, free: 26.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.6921, allocations: 330.8 kB / 0.7683 GB, free: 26.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006782/0.6928, allocations: 292.8 kB / 0.7686 GB, free: 26.56 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008177/0.6936, allocations: 497.7 kB / 0.7691 GB, free: 26.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.695, allocations: 0.7058 MB / 0.7698 GB, free: 26.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.695, allocations: 1.219 kB / 0.7698 GB, free: 26.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004594/0.6996, allocations: 1.274 MB / 0.771 GB, free: 26.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.6996, allocations: 10.41 kB / 0.771 GB, free: 26.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.6997, allocations: 3.906 kB / 0.771 GB, free: 26.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/0.7003, allocations: 152.3 kB / 0.7712 GB, free: 26.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/0.7009, allocations: 163 kB / 0.7713 GB, free: 26.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007764/0.7017, allocations: 0.7082 MB / 0.772 GB, free: 25.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.7031, allocations: 124 kB / 0.7721 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.7032, allocations: 30.09 kB / 0.7722 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001168/0.7044, allocations: 0.553 MB / 0.7727 GB, free: 25.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007797/0.7052, allocations: 496.5 kB / 0.7732 GB, free: 25.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001291/0.7065, allocations: 0.708 MB / 0.7739 GB, free: 25.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/0.7065, allocations: 2.062 kB / 0.7739 GB, free: 25.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004598/0.7111, allocations: 1.266 MB / 0.7751 GB, free: 24.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.7111, allocations: 14.25 kB / 0.7751 GB, free: 24.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.7111, allocations: 6.594 kB / 0.7751 GB, free: 24.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/0.7117, allocations: 152 kB / 0.7753 GB, free: 24.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.7123, allocations: 151 kB / 0.7754 GB, free: 24.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006903/0.713, allocations: 0.7151 MB / 0.7761 GB, free: 24.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.7143, allocations: 108.8 kB / 0.7762 GB, free: 24.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.7144, allocations: 32.77 kB / 0.7763 GB, free: 24.34 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002479/0.7146, allocations: 223.1 kB / 0.7765 GB, free: 24.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.7149, allocations: 144.6 kB / 0.7766 GB, free: 24.08 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/0.7192, allocations: 1.256 MB / 0.7778 GB, free: 23.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.7192, allocations: 9.484 kB / 0.7778 GB, free: 23.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.7192, allocations: 5.219 kB / 0.7778 GB, free: 23.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003892/0.7231, allocations: 1.081 MB / 0.7789 GB, free: 23.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/0.7276, allocations: 2.321 MB / 0.7812 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.7276, allocations: 2.344 kB / 0.7812 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004489/0.728, allocations: 116.2 kB / 0.7813 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005267/0.7286, allocations: 149.6 kB / 0.7814 GB, free: 23.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.7286, allocations: 20 kB / 0.7814 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006379/0.7293, allocations: 0.7039 MB / 0.7821 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.7293, allocations: 11.16 kB / 0.7821 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.7317, allocations: 1.401 MB / 0.7835 GB, free: 22.35 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00055/0.7323, allocations: 317.4 kB / 0.7838 GB, free: 22.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.7325, allocations: 13.72 kB / 0.7838 GB, free: 22.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007987/0.7333, allocations: 54.55 kB / 0.7839 GB, free: 22.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.7334, allocations: 57.91 kB / 0.7839 GB, free: 22.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-05/0.7335, allocations: 36.12 kB / 0.784 GB, free: 22.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001117/0.7346, allocations: 0.8817 MB / 0.7848 GB, free: 22.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7346, allocations: 0 / 0.7848 GB, free: 22.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001911/0.7366, allocations: 0.7196 MB / 0.7855 GB, free: 21.95 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009044/0.7375, allocations: 475.9 kB / 0.786 GB, free: 21.79 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002352/0.7398, allocations: 1.129 MB / 0.7871 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.7399, allocations: 4.125 kB / 0.7871 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008431/0.7407, allocations: 390.9 kB / 0.7875 GB, free: 21.76 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/0.744, allocations: 0.8072 MB / 0.7882 GB, free: 21.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.7473, allocations: 2.321 MB / 0.7905 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.7478, allocations: 1.173 MB / 0.7917 GB, free: 19.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001031/0.7488, allocations: 305.1 kB / 0.792 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.7491, allocations: 106.1 kB / 0.7921 GB, free: 19.81 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.7491, allocations: 3.938 kB / 0.7921 GB, free: 19.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.04496/0.7941, allocations: 32.23 MB / 0.8235 GB, free: 10.02 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)