Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007632/0.007632, allocations: 99.97 kB / 15.73 MB, free: 6.008 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.0016/0.0016, allocations: 193 kB / 16.67 MB, free: 5.93 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9142/0.9142, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 66.14 kB / 0.5856 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1615, allocations: 80.93 MB / 0.6647 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07075/0.2323, allocations: 75.19 MB / 0.7381 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3695/0.6018, allocations: 15.13 MB / 0.7529 GB, free: 26.03 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.6045, allocations: 67.64 kB / 0.7529 GB, free: 26.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002672/0.6071, allocations: 0.8537 MB / 0.7538 GB, free: 26.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007916/0.6152, allocations: 2.724 MB / 0.7564 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003676/0.6189, allocations: 1.385 MB / 0.7578 GB, free: 25.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007255/0.6261, allocations: 4.406 MB / 0.7621 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003048/0.6292, allocations: 1.449 MB / 0.7635 GB, free: 25.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004815/0.634, allocations: 1.686 MB / 0.7652 GB, free: 25.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002808/0.6369, allocations: 1.207 MB / 0.7663 GB, free: 25.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006451/0.6375, allocations: 168.9 kB / 0.7665 GB, free: 25.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006216/0.6438, allocations: 1.406 MB / 0.7679 GB, free: 25.42 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.645, allocations: 401.7 kB / 0.7683 GB, free: 25.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002685/0.6477, allocations: 0.9062 MB / 0.7691 GB, free: 25.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007008/0.6547, allocations: 2.872 MB / 0.7719 GB, free: 24.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6547, allocations: 0 / 0.7719 GB, free: 24.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6547, allocations: 0 / 0.7719 GB, free: 24.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.215e-05/0.6548, allocations: 0 / 0.7719 GB, free: 24.77 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.006057/0.6609, allocations: 2.083 MB / 0.774 GB, free: 23.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.6609, allocations: 9.797 kB / 0.774 GB, free: 23.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.6621, allocations: 235.3 kB / 0.7742 GB, free: 23.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003057/0.6652, allocations: 1.521 MB / 0.7757 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.6653, allocations: 77.09 kB / 0.7758 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/0.6655, allocations: 103 kB / 0.7759 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.6679, allocations: 1.098 MB / 0.7769 GB, free: 23.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/0.668, allocations: 5.094 kB / 0.7769 GB, free: 23.05 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.6681, allocations: 40.09 kB / 0.777 GB, free: 23.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-05/0.6682, allocations: 27.09 kB / 0.777 GB, free: 23.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.6702, allocations: 0.8915 MB / 0.7779 GB, free: 23.04 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.006134/0.6764, allocations: 4.908 MB / 0.7827 GB, free: 20.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.6779, allocations: 0.6143 MB / 0.7833 GB, free: 19.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007361/0.6786, allocations: 347.6 kB / 0.7836 GB, free: 19.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006146/0.6792, allocations: 0.8281 MB / 0.7844 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.6793, allocations: 45.22 kB / 0.7845 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 4.038e-06/0.6793, allocations: 5.25 kB / 0.7845 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006935/0.6862, allocations: 1.698 MB / 0.7861 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.6863, allocations: 58.16 kB / 0.7862 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.6882, allocations: 1.228 MB / 0.7874 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-05/0.6883, allocations: 43.17 kB / 0.7874 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004198/0.6887, allocations: 0.6037 MB / 0.788 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.6889, allocations: 214 kB / 0.7882 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.6892, allocations: 159.8 kB / 0.7884 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.157e-05/0.6892, allocations: 332.6 kB / 0.7887 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006168/0.6899, allocations: 291.8 kB / 0.789 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007337/0.6906, allocations: 499.3 kB / 0.7894 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.6919, allocations: 0.7164 MB / 0.7901 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.6919, allocations: 5.062 kB / 0.7901 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004278/0.6962, allocations: 1.272 MB / 0.7914 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.6962, allocations: 5.812 kB / 0.7914 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.6962, allocations: 2.531 kB / 0.7914 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005303/0.6968, allocations: 135.3 kB / 0.7915 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005653/0.6973, allocations: 152.4 kB / 0.7917 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006622/0.698, allocations: 0.7147 MB / 0.7924 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.6992, allocations: 122.4 kB / 0.7925 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-05/0.6992, allocations: 33.05 kB / 0.7925 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009425/0.7002, allocations: 0.5488 MB / 0.793 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006666/0.7009, allocations: 498.7 kB / 0.7935 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001155/0.702, allocations: 0.7051 MB / 0.7942 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.987e-06/0.702, allocations: 2.344 kB / 0.7942 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004148/0.7062, allocations: 1.269 MB / 0.7954 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.7062, allocations: 5.438 kB / 0.7955 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7062, allocations: 5.375 kB / 0.7955 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004366/0.7067, allocations: 139 kB / 0.7956 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005318/0.7072, allocations: 151.3 kB / 0.7957 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005916/0.7078, allocations: 0.7081 MB / 0.7964 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.7089, allocations: 104 kB / 0.7965 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.736e-05/0.709, allocations: 37.8 kB / 0.7966 GB, free: 11.48 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.0001913/0.7092, allocations: 228.4 kB / 0.7968 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/0.7095, allocations: 135 kB / 0.7969 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004071/0.7136, allocations: 1.271 MB / 0.7982 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.7136, allocations: 5 kB / 0.7982 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.7136, allocations: 0 / 0.7982 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003562/0.7172, allocations: 1.106 MB / 0.7992 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005928/0.7231, allocations: 2.616 MB / 0.8018 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.7232, allocations: 3.281 kB / 0.8018 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.7236, allocations: 114.9 kB / 0.8019 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004095/0.724, allocations: 125.9 kB / 0.802 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/0.7241, allocations: 20.77 kB / 0.802 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004079/0.7282, allocations: 2.63 MB / 0.8046 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.7282, allocations: 10.88 kB / 0.8046 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004495/0.7327, allocations: 1.7 MB / 0.8063 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000574/0.7333, allocations: 302.9 kB / 0.8066 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/0.7336, allocations: 14.72 kB / 0.8066 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008895/0.7345, allocations: 58.23 kB / 0.8066 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.7346, allocations: 60.94 kB / 0.8067 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.54e-05/0.7347, allocations: 28.02 kB / 0.8067 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001187/0.7359, allocations: 0.8819 MB / 0.8076 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7359, allocations: 3.031 kB / 0.8076 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002294/0.7382, allocations: 0.7207 MB / 0.8083 GB, free: 3.555 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.00102/0.7392, allocations: 470.6 kB / 0.8087 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00225/0.7415, allocations: 1.118 MB / 0.8098 GB, free: 2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.7415, allocations: 4.188 kB / 0.8098 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.7428, allocations: 0.5641 MB / 0.8104 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/0.7459, allocations: 0.8048 MB / 0.8112 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.7497, allocations: 2.265 MB / 0.8134 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009479/0.7506, allocations: 1.187 MB / 0.8145 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001197/0.7518, allocations: 303 kB / 0.8148 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.7521, allocations: 111.4 kB / 0.8149 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.7521, allocations: 0 / 0.8149 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of Templates: time 0.05092/0.8031, allocations: 32.42 MB / 0.8466 GB, free: 12.66 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)