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.001591/0.001592, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002045/0.002045, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.994/0.994, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.33 kB / 0.5049 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1808, allocations: 80.92 MB / 0.5839 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.3488/0.5297, allocations: 74.52 MB / 0.6567 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0214/0.5511, allocations: 15.03 MB / 0.6713 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00365/0.5548, allocations: 63.72 kB / 0.6714 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003101/0.5579, allocations: 0.7121 MB / 0.6721 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008625/0.5666, allocations: 2.411 MB / 0.6744 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004511/0.5711, allocations: 1.279 MB / 0.6757 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009049/0.5802, allocations: 4.433 MB / 0.68 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003301/0.5835, allocations: 1.445 MB / 0.6814 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005652/0.5892, allocations: 1.639 MB / 0.683 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002817/0.5921, allocations: 1.259 MB / 0.6843 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005817/0.5927, allocations: 164 kB / 0.6844 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004198/0.5969, allocations: 1.415 MB / 0.6858 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008179/0.5977, allocations: 405.2 kB / 0.6862 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002351/0.6001, allocations: 0.9043 MB / 0.6871 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006421/0.6065, allocations: 2.859 MB / 0.6899 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.6065, allocations: 2.078 kB / 0.6899 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6065, allocations: 4 kB / 0.6899 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.867e-05/0.6066, allocations: 0 / 0.6899 GB, free: 3.312 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.006676/0.6133, allocations: 2.088 MB / 0.6919 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.6134, allocations: 9.875 kB / 0.6919 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.6146, allocations: 227.4 kB / 0.6921 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/0.618, allocations: 1.505 MB / 0.6936 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.689e-05/0.6181, allocations: 78.02 kB / 0.6937 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.6182, allocations: 100.7 kB / 0.6938 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.6206, allocations: 1.106 MB / 0.6949 GB, free: 372 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.6206, allocations: 5.781 kB / 0.6949 GB, free: 368 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.583e-05/0.6207, allocations: 37.16 kB / 0.6949 GB, free: 340 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.6208, allocations: 29.48 kB / 0.6949 GB, free: 336 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.6229, allocations: 0.8906 MB / 0.6958 GB, free: 20 kB / 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.008138/0.6311, allocations: 4.897 MB / 0.7006 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.6326, allocations: 0.6269 MB / 0.7012 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007321/0.6334, allocations: 346.1 kB / 0.7015 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006802/0.6341, allocations: 0.8294 MB / 0.7023 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.6341, allocations: 38.31 kB / 0.7024 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.956e-06/0.6341, allocations: 1.125 kB / 0.7024 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007577/0.6417, allocations: 1.691 MB / 0.704 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.6418, allocations: 59.73 kB / 0.7041 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.6439, allocations: 1.214 MB / 0.7053 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.6441, allocations: 52.11 kB / 0.7053 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005714/0.6447, allocations: 0.6022 MB / 0.7059 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/0.645, allocations: 212.9 kB / 0.7061 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.6453, allocations: 154.4 kB / 0.7062 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6454, allocations: 336.7 kB / 0.7066 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/0.6462, allocations: 289.8 kB / 0.7068 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009169/0.6471, allocations: 0.4906 MB / 0.7073 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.6486, allocations: 0.7081 MB / 0.708 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.6486, allocations: 1.188 kB / 0.708 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005225/0.6539, allocations: 1.277 MB / 0.7093 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.6539, allocations: 5.969 kB / 0.7093 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.6539, allocations: 3.656 kB / 0.7093 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006794/0.6546, allocations: 135.6 kB / 0.7094 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007478/0.6554, allocations: 161.3 kB / 0.7096 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009539/0.6564, allocations: 0.7074 MB / 0.7102 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.6581, allocations: 158.8 kB / 0.7104 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.6582, allocations: 27.03 kB / 0.7104 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001351/0.6596, allocations: 0.5549 MB / 0.711 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008811/0.6605, allocations: 0.4941 MB / 0.7114 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001485/0.6619, allocations: 0.7014 MB / 0.7121 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.878e-06/0.662, allocations: 6.938 kB / 0.7121 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004921/0.6669, allocations: 1.266 MB / 0.7134 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.6669, allocations: 6.656 kB / 0.7134 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.667, allocations: 4.156 kB / 0.7134 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005857/0.6675, allocations: 150.7 kB / 0.7135 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.6682, allocations: 153 kB / 0.7137 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008924/0.6691, allocations: 0.7065 MB / 0.7144 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.6709, allocations: 133.3 kB / 0.7145 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.6711, allocations: 35.36 kB / 0.7145 GB, free: 4.457 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.0004449/0.6715, allocations: 229.8 kB / 0.7147 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006906/0.6722, allocations: 131 kB / 0.7149 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005325/0.6776, allocations: 1.268 MB / 0.7161 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.6776, allocations: 9.766 kB / 0.7161 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.6776, allocations: 0 / 0.7161 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004343/0.682, allocations: 1.106 MB / 0.7172 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008931/0.6909, allocations: 2.6 MB / 0.7197 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.691, allocations: 5.438 kB / 0.7197 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00051/0.6915, allocations: 109.1 kB / 0.7198 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005365/0.6921, allocations: 138 kB / 0.72 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.463e-05/0.6921, allocations: 22.42 kB / 0.72 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005275/0.6974, allocations: 2.633 MB / 0.7226 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.6975, allocations: 7.984 kB / 0.7226 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005683/0.7031, allocations: 1.691 MB / 0.7242 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000869/0.704, allocations: 307.2 kB / 0.7245 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000427/0.7045, allocations: 16 kB / 0.7245 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.7057, allocations: 87.81 kB / 0.7246 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.7059, allocations: 56.25 kB / 0.7247 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.813e-05/0.706, allocations: 35.98 kB / 0.7247 GB, free: 11.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001524/0.7075, allocations: 0.8663 MB / 0.7256 GB, free: 11.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7075, allocations: 3.938 kB / 0.7256 GB, free: 11.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002505/0.71, allocations: 0.7174 MB / 0.7263 GB, free: 10.3 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.001114/0.7112, allocations: 451.5 kB / 0.7267 GB, free: 9.859 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003083/0.7143, allocations: 1.156 MB / 0.7278 GB, free: 8.707 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.7143, allocations: 4 kB / 0.7278 GB, free: 8.703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.7159, allocations: 0.5565 MB / 0.7284 GB, free: 8.137 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004125/0.72, allocations: 0.8078 MB / 0.7292 GB, free: 7.371 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/0.7246, allocations: 2.768 MB / 0.7319 GB, free: 4.523 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009108/0.7255, allocations: 1.179 MB / 0.733 GB, free: 3.316 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001461/0.727, allocations: 307 kB / 0.7333 GB, free: 3.012 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.7273, allocations: 107.4 kB / 0.7334 GB, free: 2.906 MB / 0.545 GB Notification: Performance of SimCode: time 8.71e-07/0.7273, allocations: 7.938 kB / 0.7334 GB, free: 2.898 MB / 0.545 GB Notification: Performance of Templates: time 0.05548/0.7828, allocations: 31.59 MB / 0.7643 GB, free: 3.668 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)