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.007051/0.007051, allocations: 100.3 kB / 15.87 MB, free: 5.867 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.001366/0.001367, allocations: 196.2 kB / 16.79 MB, free: 5.812 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.369/1.369, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9852/0.9852, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 60.19 kB / 0.5053 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1843, allocations: 80.94 MB / 0.5843 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.3754/0.5597, allocations: 74.7 MB / 0.6573 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01957/0.5793, allocations: 15.2 MB / 0.6721 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003513/0.5829, allocations: 62.97 kB / 0.6722 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.5857, allocations: 0.6741 MB / 0.6728 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008161/0.5939, allocations: 2.379 MB / 0.6752 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004385/0.5983, allocations: 1.26 MB / 0.6764 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01117/0.6095, allocations: 5.571 MB / 0.6818 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003347/0.6129, allocations: 1.199 MB / 0.683 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005111/0.6181, allocations: 1.369 MB / 0.6843 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003528/0.6216, allocations: 1.202 MB / 0.6855 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004485/0.6221, allocations: 72.53 kB / 0.6856 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004384/0.6265, allocations: 1.262 MB / 0.6868 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005201/0.627, allocations: 315.1 kB / 0.6871 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001715/0.6288, allocations: 0.8115 MB / 0.6879 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003974/0.6327, allocations: 2.203 MB / 0.6901 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6328, allocations: 1.281 kB / 0.6901 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6328, allocations: 0 / 0.6901 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.455e-05/0.6328, allocations: 0 / 0.6901 GB, free: 4.586 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.00549/0.6383, allocations: 2.092 MB / 0.6921 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.6384, allocations: 9.25 kB / 0.6921 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.6395, allocations: 232.4 kB / 0.6923 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/0.6428, allocations: 1.502 MB / 0.6938 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/0.6429, allocations: 80.56 kB / 0.6939 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.6431, allocations: 101.3 kB / 0.694 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.6455, allocations: 1.099 MB / 0.6951 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.6456, allocations: 1.594 kB / 0.6951 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.599e-05/0.6457, allocations: 40.36 kB / 0.6951 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.6457, allocations: 25.25 kB / 0.6951 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.6479, allocations: 0.8949 MB / 0.696 GB, free: 1.289 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.007545/0.6554, allocations: 4.902 MB / 0.7008 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.657, allocations: 0.6193 MB / 0.7014 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007158/0.6577, allocations: 353.9 kB / 0.7017 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007025/0.6584, allocations: 0.8293 MB / 0.7025 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.6585, allocations: 39.38 kB / 0.7026 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.096e-06/0.6585, allocations: 0 / 0.7026 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007277/0.6658, allocations: 1.691 MB / 0.7042 GB, free: 12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.6659, allocations: 59.09 kB / 0.7043 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.668, allocations: 1.216 MB / 0.7055 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001938/0.6682, allocations: 38.86 kB / 0.7055 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006607/0.6689, allocations: 0.6123 MB / 0.7061 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.6692, allocations: 207.3 kB / 0.7063 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002968/0.6695, allocations: 152.5 kB / 0.7064 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6697, allocations: 344.7 kB / 0.7068 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007639/0.6704, allocations: 286 kB / 0.707 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008691/0.6713, allocations: 497.6 kB / 0.7075 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.6728, allocations: 0.7124 MB / 0.7082 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.6729, allocations: 1.375 kB / 0.7082 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004875/0.6777, allocations: 1.274 MB / 0.7095 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.6778, allocations: 10.09 kB / 0.7095 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.6778, allocations: 4.031 kB / 0.7095 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/0.6785, allocations: 143.4 kB / 0.7096 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006894/0.6792, allocations: 151.9 kB / 0.7098 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009023/0.6801, allocations: 0.707 MB / 0.7104 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.6817, allocations: 159.5 kB / 0.7106 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.6818, allocations: 35.39 kB / 0.7106 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00122/0.683, allocations: 0.5514 MB / 0.7112 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008632/0.6839, allocations: 0.4924 MB / 0.7117 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001396/0.6853, allocations: 0.6974 MB / 0.7123 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.538e-06/0.6853, allocations: 1.656 kB / 0.7123 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004858/0.6902, allocations: 1.265 MB / 0.7136 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.6902, allocations: 13.59 kB / 0.7136 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6902, allocations: 4.219 kB / 0.7136 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005454/0.6908, allocations: 147.1 kB / 0.7137 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006443/0.6914, allocations: 156.4 kB / 0.7139 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008494/0.6923, allocations: 0.7055 MB / 0.7146 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.6939, allocations: 145.3 kB / 0.7147 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.6941, allocations: 26.78 kB / 0.7147 GB, free: 5.164 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 (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.0003682/0.6944, allocations: 229.9 kB / 0.7149 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005532/0.695, allocations: 133.1 kB / 0.7151 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004679/0.6997, allocations: 1.265 MB / 0.7163 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.6997, allocations: 8.469 kB / 0.7163 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.6998, allocations: 0 / 0.7163 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003897/0.7037, allocations: 1.099 MB / 0.7174 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007808/0.7115, allocations: 2.606 MB / 0.7199 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.7116, allocations: 4.438 kB / 0.7199 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/0.7121, allocations: 119.8 kB / 0.7201 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/0.7126, allocations: 128.7 kB / 0.7202 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.997e-05/0.7127, allocations: 16 kB / 0.7202 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004792/0.7175, allocations: 2.385 MB / 0.7225 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.7176, allocations: 7.938 kB / 0.7225 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00568/0.7233, allocations: 1.703 MB / 0.7242 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.7243, allocations: 307.3 kB / 0.7245 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005032/0.7249, allocations: 12 kB / 0.7245 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.7262, allocations: 91.75 kB / 0.7246 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.7264, allocations: 60.23 kB / 0.7246 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.7266, allocations: 27.98 kB / 0.7247 GB, free: 12.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001771/0.7283, allocations: 0.8779 MB / 0.7255 GB, free: 11.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7284, allocations: 0 / 0.7255 GB, free: 11.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003378/0.7317, allocations: 0.7096 MB / 0.7262 GB, free: 11 MB / 0.545 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.001364/0.7331, allocations: 446.1 kB / 0.7266 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003036/0.7362, allocations: 1.113 MB / 0.7277 GB, free: 9.465 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.7362, allocations: 4 kB / 0.7277 GB, free: 9.461 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.7378, allocations: 0.5603 MB / 0.7283 GB, free: 8.891 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004854/0.7426, allocations: 0.7509 MB / 0.729 GB, free: 8.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005485/0.7482, allocations: 2.796 MB / 0.7317 GB, free: 5.281 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009913/0.7492, allocations: 1.165 MB / 0.7329 GB, free: 4.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/0.7497, allocations: 115.4 kB / 0.733 GB, free: 3.977 MB / 0.545 GB Notification: Performance of SimCode: time 1.173e-06/0.7497, allocations: 0 / 0.733 GB, free: 3.977 MB / 0.545 GB Notification: Performance of Templates: time 0.04669/0.7964, allocations: 30.94 MB / 0.7632 GB, free: 5.234 MB / 0.5762 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)