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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006012/0.006012, allocations: 99.8 kB / 15.73 MB, free: 6.496 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.001248/0.001248, allocations: 199 kB / 16.68 MB, free: 6.375 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7962/0.7962, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.94 kB / 0.5814 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1689, allocations: 80.2 MB / 0.6597 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.07967/0.2486, allocations: 75.18 MB / 0.7331 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02149/0.2701, allocations: 15.13 MB / 0.7479 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002975/0.2731, allocations: 67.56 kB / 0.7479 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.2761, allocations: 0.858 MB / 0.7488 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009227/0.2854, allocations: 2.722 MB / 0.7514 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004185/0.2896, allocations: 1.398 MB / 0.7528 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007531/0.2971, allocations: 4.406 MB / 0.7571 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003154/0.3003, allocations: 1.441 MB / 0.7585 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004572/0.3049, allocations: 1.686 MB / 0.7601 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002644/0.3076, allocations: 1.22 MB / 0.7613 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000613/0.3082, allocations: 164 kB / 0.7615 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003762/0.312, allocations: 1.404 MB / 0.7629 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007659/0.3128, allocations: 402.6 kB / 0.7632 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001876/0.3146, allocations: 0.906 MB / 0.7641 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005092/0.3197, allocations: 2.882 MB / 0.7669 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3198, allocations: 0 / 0.7669 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3198, allocations: 0 / 0.7669 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.449e-05/0.3199, allocations: 0 / 0.7669 GB, free: 15.31 MB / 0.6075 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.004879/0.3247, allocations: 2.083 MB / 0.769 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3248, allocations: 12.03 kB / 0.769 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009553/0.3258, allocations: 234.8 kB / 0.7692 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/0.3288, allocations: 1.52 MB / 0.7707 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/0.3288, allocations: 78 kB / 0.7708 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.329, allocations: 107.8 kB / 0.7709 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.331, allocations: 1.1 MB / 0.772 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.331, allocations: 11.98 kB / 0.772 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.729e-05/0.3311, allocations: 40 kB / 0.772 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/0.3312, allocations: 24 kB / 0.772 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.333, allocations: 0.89 MB / 0.7729 GB, free: 9.062 MB / 0.6075 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.006636/0.3396, allocations: 4.915 MB / 0.7777 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.3412, allocations: 0.6088 MB / 0.7783 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007054/0.3419, allocations: 347.1 kB / 0.7786 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006504/0.3426, allocations: 0.8238 MB / 0.7794 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3426, allocations: 43.12 kB / 0.7795 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 3.787e-06/0.3426, allocations: 3.938 kB / 0.7795 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.006767/0.3494, allocations: 1.697 MB / 0.7811 GB, free: 120 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.3495, allocations: 59.97 kB / 0.7812 GB, free: 48 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002397/0.3519, allocations: 1.226 MB / 0.7824 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.352, allocations: 45.7 kB / 0.7824 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005878/0.3526, allocations: 0.5987 MB / 0.783 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.3529, allocations: 212.9 kB / 0.7832 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/0.3532, allocations: 158.5 kB / 0.7834 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3533, allocations: 337.9 kB / 0.7837 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006914/0.354, allocations: 284.7 kB / 0.784 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009053/0.355, allocations: 0.4929 MB / 0.7844 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.3564, allocations: 0.7129 MB / 0.7851 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.3564, allocations: 7.938 kB / 0.7851 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004559/0.361, allocations: 1.269 MB / 0.7864 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.361, allocations: 8.031 kB / 0.7864 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.361, allocations: 4 kB / 0.7864 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/0.3617, allocations: 136.7 kB / 0.7865 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.3623, allocations: 159.7 kB / 0.7867 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008292/0.3631, allocations: 0.7026 MB / 0.7874 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.3643, allocations: 123 kB / 0.7875 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.367e-05/0.3644, allocations: 28 kB / 0.7875 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001086/0.3654, allocations: 0.5604 MB / 0.7881 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008214/0.3663, allocations: 493.6 kB / 0.7885 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001368/0.3677, allocations: 0.709 MB / 0.7892 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.556e-06/0.3677, allocations: 4 kB / 0.7892 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004775/0.3725, allocations: 1.269 MB / 0.7905 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3725, allocations: 8.312 kB / 0.7905 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3725, allocations: 11.98 kB / 0.7905 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005027/0.373, allocations: 144.7 kB / 0.7906 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.3736, allocations: 159.7 kB / 0.7908 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007961/0.3744, allocations: 0.6968 MB / 0.7915 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.3755, allocations: 95.45 kB / 0.7915 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-05/0.3756, allocations: 39.98 kB / 0.7916 GB, free: 5.02 MB / 0.6231 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.0002615/0.3759, allocations: 230.8 kB / 0.7918 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003647/0.3763, allocations: 134.3 kB / 0.7919 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/0.3807, allocations: 1.263 MB / 0.7932 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.3808, allocations: 12 kB / 0.7932 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.3808, allocations: 8 kB / 0.7932 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003735/0.3845, allocations: 1.103 MB / 0.7943 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006557/0.3911, allocations: 2.61 MB / 0.7968 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.3911, allocations: 4 kB / 0.7968 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.3916, allocations: 111.8 kB / 0.7969 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/0.3921, allocations: 140.6 kB / 0.7971 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/0.3922, allocations: 16 kB / 0.7971 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004766/0.3969, allocations: 2.641 MB / 0.7996 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.397, allocations: 4 kB / 0.7996 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005233/0.4022, allocations: 1.703 MB / 0.8013 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007643/0.403, allocations: 303.2 kB / 0.8016 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/0.4033, allocations: 19.98 kB / 0.8016 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009439/0.4043, allocations: 51.84 kB / 0.8017 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.4045, allocations: 64.31 kB / 0.8017 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.046e-05/0.4046, allocations: 35.97 kB / 0.8018 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001602/0.4062, allocations: 0.8818 MB / 0.8026 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4062, allocations: 0 / 0.8026 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003098/0.4093, allocations: 0.7174 MB / 0.8033 GB, free: 8.57 MB / 0.6387 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.00131/0.4106, allocations: 456.7 kB / 0.8038 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002675/0.4133, allocations: 1.117 MB / 0.8049 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/0.4133, allocations: 4 kB / 0.8049 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.4149, allocations: 0.572 MB / 0.8054 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003864/0.4188, allocations: 0.7982 MB / 0.8062 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.4233, allocations: 2.261 MB / 0.8084 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.4243, allocations: 1.187 MB / 0.8096 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001201/0.4255, allocations: 303 kB / 0.8099 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.4258, allocations: 107.3 kB / 0.81 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of SimCode: time 7.21e-07/0.4259, allocations: 0 / 0.81 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of Templates: time 0.4218/0.8477, allocations: 32.41 MB / 0.8416 GB, free: 132 MB / 0.6387 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)