Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001188/0.001188, allocations: 181.6 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/package.mo): time 0.7192/0.7192, allocations: 132.2 MB / 148.9 MB, free: 12.14 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.464/1.464, allocations: 222.9 MB / 403.4 MB, free: 7.047 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.001054/0.001053, allocations: 110.2 kB / 484.4 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 55.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1424, allocations: 80.21 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.3643/0.5067, allocations: 74.71 MB / 0.7131 GB, free: 22.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02007/0.5268, allocations: 15.19 MB / 0.7279 GB, free: 17.76 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003698/0.5306, allocations: 60.72 kB / 0.728 GB, free: 17.73 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00269/0.5333, allocations: 0.6837 MB / 0.7287 GB, free: 17.33 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007696/0.541, allocations: 2.382 MB / 0.731 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.5447, allocations: 1.274 MB / 0.7322 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.007139/0.5518, allocations: 5.575 MB / 0.7377 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002569/0.5545, allocations: 1.201 MB / 0.7389 GB, free: 12.44 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.5577, allocations: 1.38 MB / 0.7402 GB, free: 11.7 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/0.56, allocations: 1.21 MB / 0.7414 GB, free: 10.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004334/0.5604, allocations: 72.56 kB / 0.7415 GB, free: 10.98 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003588/0.564, allocations: 1.258 MB / 0.7427 GB, free: 10.29 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004885/0.5645, allocations: 312.5 kB / 0.743 GB, free: 10.06 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001567/0.5661, allocations: 0.8085 MB / 0.7438 GB, free: 9.543 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004213/0.5704, allocations: 2.782 MB / 0.7465 GB, free: 7.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.5704, allocations: 0 / 0.7465 GB, free: 7.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5704, allocations: 0 / 0.7465 GB, free: 7.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.382e-05/0.5705, allocations: 0 / 0.7465 GB, free: 7.66 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.004344/0.5748, allocations: 2.09 MB / 0.7485 GB, free: 6.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.5749, allocations: 11.81 kB / 0.7485 GB, free: 6.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008227/0.5757, allocations: 228.5 kB / 0.7488 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.5779, allocations: 1.51 MB / 0.7502 GB, free: 4.758 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.5779, allocations: 78.97 kB / 0.7503 GB, free: 4.719 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.5781, allocations: 101.8 kB / 0.7504 GB, free: 4.688 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.5798, allocations: 1.095 MB / 0.7515 GB, free: 4.012 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.5799, allocations: 0 / 0.7515 GB, free: 4.012 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.921e-05/0.5799, allocations: 41.66 kB / 0.7515 GB, free: 3.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.58, allocations: 25.66 kB / 0.7515 GB, free: 3.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.5817, allocations: 0.8885 MB / 0.7524 GB, free: 3.531 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.004778/0.5865, allocations: 4.912 MB / 0.7572 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.5879, allocations: 0.621 MB / 0.7578 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007025/0.5886, allocations: 352.4 kB / 0.7582 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/0.5892, allocations: 0.8277 MB / 0.759 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.5893, allocations: 39.12 kB / 0.759 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=61): time 4.348e-06/0.5893, allocations: 3.984 kB / 0.759 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.007372/0.5967, allocations: 1.689 MB / 0.7607 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.5967, allocations: 63.91 kB / 0.7607 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.5982, allocations: 1.218 MB / 0.7619 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.5983, allocations: 37.7 kB / 0.7619 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/0.5988, allocations: 0.6064 MB / 0.7625 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.5989, allocations: 220.9 kB / 0.7627 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.5992, allocations: 150.6 kB / 0.7629 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5993, allocations: 337.9 kB / 0.7632 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006657/0.6, allocations: 292.7 kB / 0.7635 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008219/0.6008, allocations: 0.4937 MB / 0.764 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.6022, allocations: 0.7012 MB / 0.7647 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6022, allocations: 4 kB / 0.7647 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004599/0.6068, allocations: 1.273 MB / 0.7659 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.6068, allocations: 8 kB / 0.7659 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6069, allocations: 4 kB / 0.7659 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006098/0.6075, allocations: 133.1 kB / 0.766 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.6081, allocations: 159.8 kB / 0.7662 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008345/0.6089, allocations: 0.7096 MB / 0.7669 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.6101, allocations: 155 kB / 0.767 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-05/0.6102, allocations: 35.98 kB / 0.7671 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001093/0.6113, allocations: 0.5488 MB / 0.7676 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008633/0.6122, allocations: 0.4967 MB / 0.7681 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001433/0.6136, allocations: 0.6973 MB / 0.7688 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.6136, allocations: 0 / 0.7688 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004631/0.6183, allocations: 1.269 MB / 0.77 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.6183, allocations: 8 kB / 0.77 GB, free: 1.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6183, allocations: 4 kB / 0.77 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004887/0.6188, allocations: 149 kB / 0.7702 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007298/0.6195, allocations: 159.8 kB / 0.7703 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007791/0.6203, allocations: 0.6967 MB / 0.771 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.6215, allocations: 135.5 kB / 0.7711 GB, free: 428 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.6216, allocations: 31.98 kB / 0.7712 GB, free: 396 kB / 0.4948 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.0002474/0.6218, allocations: 231.2 kB / 0.7714 GB, free: 160 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.6221, allocations: 138.3 kB / 0.7715 GB, free: 20 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004817/0.6269, allocations: 1.268 MB / 0.7727 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.6269, allocations: 16 kB / 0.7728 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6269, allocations: 0 / 0.7728 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004286/0.6312, allocations: 1.096 MB / 0.7738 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006625/0.6379, allocations: 2.614 MB / 0.7764 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.6379, allocations: 4 kB / 0.7764 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004701/0.6384, allocations: 108.3 kB / 0.7765 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/0.6389, allocations: 136.7 kB / 0.7766 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.6389, allocations: 19.98 kB / 0.7766 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004927/0.6439, allocations: 2.384 MB / 0.779 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/0.6439, allocations: 7.938 kB / 0.779 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03511/0.679, allocations: 10.73 MB / 0.7895 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007578/0.6798, allocations: 307.1 kB / 0.7897 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002624/0.6801, allocations: 12 kB / 0.7898 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.6812, allocations: 83.97 kB / 0.7898 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.6814, allocations: 64.23 kB / 0.7899 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.729e-05/0.6815, allocations: 27.98 kB / 0.7899 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001475/0.683, allocations: 0.8744 MB / 0.7908 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.683, allocations: 0 / 0.7908 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003362/0.6863, allocations: 1.096 MB / 0.7919 GB, free: 10.48 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.001026/0.6874, allocations: 455.2 kB / 0.7923 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002813/0.6902, allocations: 1.109 MB / 0.7934 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.6902, allocations: 1 kB / 0.7934 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.6919, allocations: 0.5641 MB / 0.7939 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/0.6956, allocations: 0.756 MB / 0.7947 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006378/0.702, allocations: 3.51 MB / 0.7981 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008195/0.7028, allocations: 1.199 MB / 0.7993 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001366/0.7042, allocations: 307 kB / 0.7995 GB, free: 2.477 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/0.7045, allocations: 107.4 kB / 0.7997 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of SimCode: time 5.61e-07/0.7045, allocations: 0 / 0.7997 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of Templates: time 0.05094/0.7555, allocations: 33.46 MB / 0.8323 GB, free: 1.195 MB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)