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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6925/0.6925, allocations: 133.3 MB / 150.1 MB, free: 11.12 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 404.7 MB, free: 6.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009009/0.0009009, allocations: 110.1 kB / 485.9 MB, free: 7.125 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009746/0.0009746, allocations: 51.92 kB / 0.5636 GB, free: 69.86 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1185, allocations: 80.43 MB / 0.6421 GB, free: 5.367 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.341/0.4595, allocations: 74.7 MB / 0.7151 GB, free: 22.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01907/0.4786, allocations: 15.2 MB / 0.7299 GB, free: 16.06 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003154/0.4818, allocations: 65.06 kB / 0.73 GB, free: 16.04 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.4843, allocations: 0.6736 MB / 0.7306 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007106/0.4914, allocations: 2.384 MB / 0.733 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003538/0.495, allocations: 1.271 MB / 0.7342 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.007644/0.5026, allocations: 5.582 MB / 0.7397 GB, free: 11.29 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002083/0.5047, allocations: 1.201 MB / 0.7408 GB, free: 10.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003237/0.508, allocations: 1.377 MB / 0.7422 GB, free: 9.867 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/0.51, allocations: 1.21 MB / 0.7434 GB, free: 9.148 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.5102, allocations: 72.41 kB / 0.7434 GB, free: 9.148 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.5131, allocations: 1.26 MB / 0.7447 GB, free: 8.453 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.5134, allocations: 315 kB / 0.745 GB, free: 8.219 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008678/0.5143, allocations: 0.8113 MB / 0.7458 GB, free: 7.699 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.5172, allocations: 2.779 MB / 0.7485 GB, free: 5.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5172, allocations: 7.875 kB / 0.7485 GB, free: 5.812 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.5172, allocations: 0 / 0.7485 GB, free: 5.812 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.5173, allocations: 4 kB / 0.7485 GB, free: 5.809 MB / 490.7 MB 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.003291/0.5206, allocations: 2.086 MB / 0.7505 GB, free: 4.223 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.5206, allocations: 8.406 kB / 0.7505 GB, free: 4.223 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007569/0.5214, allocations: 227.1 kB / 0.7507 GB, free: 4.117 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.5235, allocations: 1.503 MB / 0.7522 GB, free: 2.918 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.129e-05/0.5236, allocations: 77.28 kB / 0.7523 GB, free: 2.883 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.5238, allocations: 101.5 kB / 0.7524 GB, free: 2.852 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.5255, allocations: 1.097 MB / 0.7535 GB, free: 2.176 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.5256, allocations: 4 kB / 0.7535 GB, free: 2.172 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.888e-05/0.5257, allocations: 39.84 kB / 0.7535 GB, free: 2.141 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.5257, allocations: 29.59 kB / 0.7535 GB, free: 2.137 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.5274, allocations: 0.8966 MB / 0.7544 GB, free: 1.68 MB / 490.7 MB 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.005994/0.5334, allocations: 4.9 MB / 0.7592 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.5349, allocations: 0.6197 MB / 0.7598 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006917/0.5356, allocations: 342.3 kB / 0.7601 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006253/0.5362, allocations: 0.8316 MB / 0.7609 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.5363, allocations: 39.12 kB / 0.761 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=61): time 2.604e-06/0.5363, allocations: 0 / 0.761 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.007516/0.5438, allocations: 1.697 MB / 0.7626 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.5439, allocations: 55.97 kB / 0.7627 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.5457, allocations: 1.218 MB / 0.7639 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.546, allocations: 41.7 kB / 0.7639 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000773/0.5468, allocations: 0.6104 MB / 0.7645 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.5471, allocations: 209 kB / 0.7647 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.5475, allocations: 150.6 kB / 0.7648 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002457/0.5477, allocations: 341.9 kB / 0.7652 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007704/0.5485, allocations: 292.7 kB / 0.7654 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009489/0.5495, allocations: 0.4941 MB / 0.7659 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.5509, allocations: 0.7051 MB / 0.7666 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.551, allocations: 0 / 0.7666 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004832/0.5558, allocations: 1.277 MB / 0.7679 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.5558, allocations: 8 kB / 0.7679 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.5559, allocations: 7.938 kB / 0.7679 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000636/0.5565, allocations: 133.1 kB / 0.768 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.5571, allocations: 159.8 kB / 0.7682 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008501/0.558, allocations: 0.7065 MB / 0.7688 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.5594, allocations: 159 kB / 0.769 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-05/0.5595, allocations: 35.98 kB / 0.769 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001122/0.5607, allocations: 0.5526 MB / 0.7696 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008168/0.5615, allocations: 492.7 kB / 0.77 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001383/0.5629, allocations: 0.7012 MB / 0.7707 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.037e-06/0.5629, allocations: 0 / 0.7707 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00501/0.5679, allocations: 1.273 MB / 0.772 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.568, allocations: 8 kB / 0.772 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.568, allocations: 4 kB / 0.772 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005496/0.5685, allocations: 145 kB / 0.7721 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.5692, allocations: 155.8 kB / 0.7723 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008033/0.57, allocations: 0.6967 MB / 0.773 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.5714, allocations: 149.3 kB / 0.7731 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.961e-05/0.5716, allocations: 24 kB / 0.7731 GB, free: 14.33 MB / 0.5105 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.0002927/0.5719, allocations: 228.1 kB / 0.7733 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/0.5723, allocations: 138.3 kB / 0.7735 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004965/0.5773, allocations: 1.264 MB / 0.7747 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.5773, allocations: 8 kB / 0.7747 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.5773, allocations: 4 kB / 0.7747 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004238/0.5816, allocations: 1.107 MB / 0.7758 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007593/0.5892, allocations: 2.61 MB / 0.7783 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.5892, allocations: 4 kB / 0.7783 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.5898, allocations: 107.9 kB / 0.7784 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005423/0.5903, allocations: 133 kB / 0.7786 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/0.5904, allocations: 16 kB / 0.7786 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004973/0.5954, allocations: 2.4 MB / 0.7809 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.5954, allocations: 8.031 kB / 0.7809 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03595/0.6314, allocations: 10.73 MB / 0.7914 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008571/0.6323, allocations: 307.1 kB / 0.7917 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/0.6326, allocations: 24.11 kB / 0.7917 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.6338, allocations: 79.91 kB / 0.7918 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.634, allocations: 56.41 kB / 0.7919 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.6342, allocations: 39.84 kB / 0.7919 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001628/0.6358, allocations: 0.8701 MB / 0.7928 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.7e-07/0.6358, allocations: 4 kB / 0.7928 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003964/0.6398, allocations: 1.1 MB / 0.7938 GB, free: 8.398 MB / 0.5261 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.001195/0.641, allocations: 439.9 kB / 0.7943 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002849/0.6439, allocations: 1.11 MB / 0.7953 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6439, allocations: 0 / 0.7953 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.6455, allocations: 0.5604 MB / 0.7959 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004563/0.6501, allocations: 0.7653 MB / 0.7966 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007558/0.6576, allocations: 3.504 MB / 0.8001 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.6588, allocations: 1.199 MB / 0.8012 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001701/0.6606, allocations: 311 kB / 0.8015 GB, free: 416 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/0.661, allocations: 107.4 kB / 0.8016 GB, free: 308 kB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/0.661, allocations: 0 / 0.8016 GB, free: 308 kB / 0.5261 GB Notification: Performance of Templates: time 0.05675/0.7178, allocations: 33.47 MB / 0.8343 GB, free: 15.12 MB / 0.573 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)