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.001043/0.001043, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001478/0.001478, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9859/0.9859, allocations: 135.3 MB / 426.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003212, allocations: 8.938 kB / 0.507 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1628, allocations: 82.31 MB / 0.5874 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.3674/0.5302, allocations: 69.4 MB / 0.6551 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01621/0.5465, allocations: 14.17 MB / 0.669 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.5495, allocations: 56.41 kB / 0.669 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.5515, allocations: 0.5689 MB / 0.6696 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006719/0.5582, allocations: 1.983 MB / 0.6715 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.5617, allocations: 0.9669 MB / 0.6725 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008924/0.5707, allocations: 4.807 MB / 0.6772 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/0.573, allocations: 1.028 MB / 0.6782 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.5766, allocations: 1.274 MB / 0.6794 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/0.5793, allocations: 1.084 MB / 0.6805 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002729/0.5796, allocations: 55.81 kB / 0.6805 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.5828, allocations: 0.9258 MB / 0.6814 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004443/0.5833, allocations: 271.8 kB / 0.6817 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000862/0.5842, allocations: 359.3 kB / 0.682 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003818/0.588, allocations: 2.079 MB / 0.6841 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.588, allocations: 5.25 kB / 0.6841 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.873e-06/0.588, allocations: 0 / 0.6841 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.475e-05/0.5881, allocations: 0 / 0.6841 GB, free: 10.41 MB / 0.5137 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.004598/0.5927, allocations: 1.803 MB / 0.6858 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5928, allocations: 9.781 kB / 0.6858 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009345/0.5937, allocations: 241.3 kB / 0.6861 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/0.5969, allocations: 1.455 MB / 0.6875 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.709e-05/0.597, allocations: 80.61 kB / 0.6876 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.5972, allocations: 102.1 kB / 0.6877 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.5996, allocations: 1.114 MB / 0.6887 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.5996, allocations: 1 kB / 0.6887 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.5998, allocations: 37.53 kB / 0.6888 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.841e-05/0.5998, allocations: 29.08 kB / 0.6888 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.6022, allocations: 0.9235 MB / 0.6897 GB, free: 7.359 MB / 0.5137 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.007884/0.6101, allocations: 4.91 MB / 0.6945 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.6117, allocations: 0.6354 MB / 0.6951 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009315/0.6126, allocations: 366.5 kB / 0.6955 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000988/0.6136, allocations: 0.836 MB / 0.6963 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.6137, allocations: 46.66 kB / 0.6963 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 4.148e-06/0.6137, allocations: 0 / 0.6963 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.006834/0.6205, allocations: 1.889 MB / 0.6982 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.6206, allocations: 58.09 kB / 0.6982 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.6225, allocations: 1.205 MB / 0.6994 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.6226, allocations: 38.98 kB / 0.6995 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005462/0.6232, allocations: 0.6097 MB / 0.7001 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.6235, allocations: 215.2 kB / 0.7003 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.6235, allocations: 14.44 kB / 0.7003 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6236, allocations: 336.2 kB / 0.7006 GB, free: 472 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/0.6243, allocations: 299.2 kB / 0.7009 GB, free: 380 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008307/0.6251, allocations: 0.5004 MB / 0.7014 GB, free: 48 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007494/0.6259, allocations: 363.3 kB / 0.7017 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.6259, allocations: 1.062 kB / 0.7017 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004411/0.6303, allocations: 1.392 MB / 0.7031 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.6305, allocations: 193.5 kB / 0.7033 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.6305, allocations: 7.312 kB / 0.7033 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/0.6311, allocations: 155.1 kB / 0.7034 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/0.6318, allocations: 160.3 kB / 0.7036 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008778/0.6326, allocations: 0.7159 MB / 0.7043 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.6342, allocations: 166.7 kB / 0.7044 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.854e-05/0.6343, allocations: 42.39 kB / 0.7045 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.6343, allocations: 4.781 kB / 0.7045 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00402/0.6383, allocations: 1.247 MB / 0.7057 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.6383, allocations: 7.594 kB / 0.7057 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004895/0.6388, allocations: 151 kB / 0.7058 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.6394, allocations: 160.4 kB / 0.706 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007743/0.6402, allocations: 0.7214 MB / 0.7067 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.6415, allocations: 156.5 kB / 0.7068 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.6416, allocations: 36.16 kB / 0.7069 GB, free: 12.87 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008766/0.6425, allocations: 426.7 kB / 0.7073 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.6427, allocations: 131 kB / 0.7074 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/0.647, allocations: 1.397 MB / 0.7088 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.647, allocations: 12.02 kB / 0.7088 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.647, allocations: 0 / 0.7088 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003638/0.6507, allocations: 1.227 MB / 0.71 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006786/0.6575, allocations: 2.74 MB / 0.7127 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.6575, allocations: 3.969 kB / 0.7127 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/0.658, allocations: 121.2 kB / 0.7128 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000501/0.6585, allocations: 134.6 kB / 0.7129 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.873e-05/0.6586, allocations: 21.95 kB / 0.7129 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004446/0.6631, allocations: 2.473 MB / 0.7153 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.6631, allocations: 9.688 kB / 0.7154 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005137/0.6682, allocations: 1.851 MB / 0.7172 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.6693, allocations: 337.2 kB / 0.7175 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.6694, allocations: 14.19 kB / 0.7175 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008489/0.6703, allocations: 97.78 kB / 0.7176 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.6705, allocations: 61.3 kB / 0.7176 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/0.6705, allocations: 35.03 kB / 0.7177 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001594/0.6721, allocations: 0.8607 MB / 0.7185 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6721, allocations: 0 / 0.7185 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002706/0.6748, allocations: 0.7096 MB / 0.7192 GB, free: 4.617 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/0.6759, allocations: 437.8 kB / 0.7196 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002578/0.6785, allocations: 1.16 MB / 0.7208 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.6786, allocations: 0 / 0.7208 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.68, allocations: 0.5917 MB / 0.7213 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/0.6838, allocations: 0.7664 MB / 0.7221 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/0.6882, allocations: 2.766 MB / 0.7248 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.689, allocations: 1.179 MB / 0.7259 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001355/0.6903, allocations: 300.5 kB / 0.7262 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.6906, allocations: 107.4 kB / 0.7263 GB, free: 13.24 MB / 0.545 GB Notification: Performance of SimCode: time 1.042e-06/0.6906, allocations: 0 / 0.7263 GB, free: 13.24 MB / 0.545 GB Notification: Performance of Templates: time 0.04833/0.7389, allocations: 29.4 MB / 0.755 GB, free: 168 kB / 0.5606 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)