Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 107.2 kB / 16.41 MB, free: 6.492 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.001321/0.001321, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7898/0.7898, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 62.48 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1713, allocations: 80.92 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.0731/0.2445, allocations: 75.17 MB / 0.7387 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4182/0.6628, allocations: 15.12 MB / 0.7535 GB, free: 25.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003494/0.6663, allocations: 65.97 kB / 0.7535 GB, free: 25.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002837/0.6692, allocations: 0.8369 MB / 0.7544 GB, free: 25.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008142/0.6774, allocations: 2.581 MB / 0.7569 GB, free: 25.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004041/0.6814, allocations: 1.385 MB / 0.7582 GB, free: 25.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008242/0.6897, allocations: 4.41 MB / 0.7625 GB, free: 25.83 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003154/0.6929, allocations: 1.451 MB / 0.764 GB, free: 25.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005258/0.6982, allocations: 1.68 MB / 0.7656 GB, free: 25.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003202/0.7014, allocations: 1.22 MB / 0.7668 GB, free: 25.35 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005132/0.7019, allocations: 162.9 kB / 0.7669 GB, free: 25.35 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0042/0.7061, allocations: 1.405 MB / 0.7683 GB, free: 25.33 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005327/0.7067, allocations: 400.3 kB / 0.7687 GB, free: 25.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.7084, allocations: 0.9078 MB / 0.7696 GB, free: 25.03 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005514/0.7139, allocations: 2.873 MB / 0.7724 GB, free: 24.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.714, allocations: 1.094 kB / 0.7724 GB, free: 24.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.093e-06/0.714, allocations: 3.938 kB / 0.7724 GB, free: 24.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.801e-05/0.714, allocations: 4 kB / 0.7724 GB, free: 24.68 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.7184, allocations: 2.088 MB / 0.7744 GB, free: 23.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.7184, allocations: 10.67 kB / 0.7744 GB, free: 23.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009414/0.7194, allocations: 229.2 kB / 0.7747 GB, free: 23.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.722, allocations: 1.534 MB / 0.7762 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/0.7221, allocations: 75.97 kB / 0.7762 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.7223, allocations: 100.8 kB / 0.7763 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.7245, allocations: 1.1 MB / 0.7774 GB, free: 22.97 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.7245, allocations: 7.844 kB / 0.7774 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.7246, allocations: 38.44 kB / 0.7774 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.301e-05/0.7247, allocations: 28.41 kB / 0.7775 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.7266, allocations: 0.8905 MB / 0.7783 GB, free: 22.95 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.006157/0.7328, allocations: 4.907 MB / 0.7831 GB, free: 20.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.7343, allocations: 0.6106 MB / 0.7837 GB, free: 19.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/0.735, allocations: 352.3 kB / 0.7841 GB, free: 19.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004868/0.7355, allocations: 0.8273 MB / 0.7849 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.7356, allocations: 38.62 kB / 0.7849 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.895e-06/0.7356, allocations: 0 / 0.7849 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007347/0.7429, allocations: 1.7 MB / 0.7866 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.743, allocations: 59.89 kB / 0.7866 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.7447, allocations: 1.233 MB / 0.7878 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.7448, allocations: 42.58 kB / 0.7879 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.7452, allocations: 0.6035 MB / 0.7885 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.7454, allocations: 212.5 kB / 0.7887 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.7456, allocations: 155.1 kB / 0.7888 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.7457, allocations: 332.5 kB / 0.7891 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006464/0.7464, allocations: 294.4 kB / 0.7894 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007692/0.7471, allocations: 0.4959 MB / 0.7899 GB, free: 16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.7485, allocations: 0.7093 MB / 0.7906 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.7485, allocations: 9.312 kB / 0.7906 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004727/0.7532, allocations: 1.263 MB / 0.7918 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.7533, allocations: 7.125 kB / 0.7918 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.7533, allocations: 5.062 kB / 0.7918 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005792/0.7539, allocations: 142.1 kB / 0.792 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/0.7545, allocations: 154.2 kB / 0.7921 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007133/0.7552, allocations: 0.7115 MB / 0.7928 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.7565, allocations: 113.5 kB / 0.7929 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/0.7566, allocations: 33.11 kB / 0.793 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001054/0.7577, allocations: 0.5561 MB / 0.7935 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007098/0.7584, allocations: 498.3 kB / 0.794 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001234/0.7596, allocations: 0.6991 MB / 0.7947 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.088e-06/0.7596, allocations: 5.641 kB / 0.7947 GB, free: 13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004575/0.7642, allocations: 1.271 MB / 0.7959 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.7642, allocations: 6.031 kB / 0.7959 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.7643, allocations: 5.562 kB / 0.7959 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004787/0.7647, allocations: 147.5 kB / 0.7961 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/0.7653, allocations: 151.2 kB / 0.7962 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006624/0.766, allocations: 0.7128 MB / 0.7969 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.7673, allocations: 93.86 kB / 0.797 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/0.7674, allocations: 33.08 kB / 0.797 GB, free: 11.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002534/0.7677, allocations: 227.2 kB / 0.7972 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.7679, allocations: 145.5 kB / 0.7974 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004513/0.7724, allocations: 1.258 MB / 0.7986 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.7725, allocations: 9.703 kB / 0.7986 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7725, allocations: 0 / 0.7986 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004006/0.7765, allocations: 1.1 MB / 0.7997 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006499/0.783, allocations: 2.621 MB / 0.8023 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.7831, allocations: 4.938 kB / 0.8023 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/0.7836, allocations: 108.9 kB / 0.8024 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005045/0.7841, allocations: 133.9 kB / 0.8025 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.479e-05/0.7841, allocations: 17.14 kB / 0.8025 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004556/0.7887, allocations: 2.642 MB / 0.8051 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.7887, allocations: 2.719 kB / 0.8051 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005327/0.7941, allocations: 1.7 MB / 0.8067 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008037/0.7949, allocations: 303.6 kB / 0.807 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.7951, allocations: 19.5 kB / 0.8071 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008306/0.796, allocations: 56.8 kB / 0.8071 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.7961, allocations: 56.44 kB / 0.8072 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.335e-05/0.7962, allocations: 33.55 kB / 0.8072 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001129/0.7973, allocations: 0.8874 MB / 0.8081 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7973, allocations: 0 / 0.8081 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002024/0.7994, allocations: 0.7228 MB / 0.8088 GB, free: 3.746 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009205/0.8003, allocations: 456.8 kB / 0.8092 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.8027, allocations: 1.122 MB / 0.8103 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.84e-06/0.8027, allocations: 4.188 kB / 0.8103 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/0.8041, allocations: 0.5563 MB / 0.8108 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003682/0.8078, allocations: 0.808 MB / 0.8116 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.8115, allocations: 2.306 MB / 0.8139 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/0.8123, allocations: 1.164 MB / 0.815 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/0.8126, allocations: 115.4 kB / 0.8151 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of SimCode: time 5.1e-07/0.8127, allocations: 0 / 0.8151 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of Templates: time 0.04106/0.8537, allocations: 31.33 MB / 0.8457 GB, free: 14.04 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)