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.00745/0.00745, allocations: 101.4 kB / 15.73 MB, free: 6.039 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.001642/0.001642, allocations: 202.1 kB / 16.68 MB, free: 5.973 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7525/0.7525, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.56 kB / 0.5813 GB, free: 1.023 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1711, allocations: 80.22 MB / 0.6597 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.07064/0.2418, allocations: 75.17 MB / 0.7331 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02041/0.2623, allocations: 15.14 MB / 0.7479 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.265, allocations: 67.62 kB / 0.7479 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.2672, allocations: 0.8618 MB / 0.7488 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006772/0.274, allocations: 2.706 MB / 0.7514 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.2773, allocations: 1.399 MB / 0.7528 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005062/0.2824, allocations: 4.406 MB / 0.7571 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.2843, allocations: 1.449 MB / 0.7585 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00347/0.2878, allocations: 1.679 MB / 0.7601 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.2895, allocations: 1.221 MB / 0.7613 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002441/0.2898, allocations: 160 kB / 0.7615 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002936/0.2927, allocations: 1.415 MB / 0.7629 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003812/0.2931, allocations: 390.6 kB / 0.7632 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.2941, allocations: 0.9138 MB / 0.7641 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004427/0.2986, allocations: 2.882 MB / 0.7669 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2986, allocations: 7.938 kB / 0.767 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2986, allocations: 0 / 0.767 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.58e-05/0.2987, allocations: 0 / 0.767 GB, free: 15.36 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.004017/0.3027, allocations: 2.083 MB / 0.769 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3027, allocations: 8.031 kB / 0.769 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008745/0.3036, allocations: 230.8 kB / 0.7692 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/0.3063, allocations: 1.528 MB / 0.7707 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/0.3064, allocations: 78 kB / 0.7708 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.3066, allocations: 103.9 kB / 0.7709 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.3087, allocations: 1.1 MB / 0.772 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.3088, allocations: 0 / 0.772 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.604e-05/0.3089, allocations: 44 kB / 0.772 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.3089, allocations: 24 kB / 0.772 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.3108, allocations: 0.89 MB / 0.7729 GB, free: 9.121 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.006159/0.317, allocations: 4.915 MB / 0.7777 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.3184, allocations: 0.6087 MB / 0.7783 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006964/0.3192, allocations: 357.4 kB / 0.7786 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000587/0.3198, allocations: 0.8277 MB / 0.7794 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.3198, allocations: 43.12 kB / 0.7795 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 2.194e-06/0.3198, allocations: 0 / 0.7795 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.007223/0.327, allocations: 1.693 MB / 0.7811 GB, free: 176 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.3271, allocations: 59.97 kB / 0.7812 GB, free: 104 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.3288, allocations: 1.23 MB / 0.7824 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-05/0.3289, allocations: 37.7 kB / 0.7824 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004877/0.3294, allocations: 0.6142 MB / 0.783 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.3296, allocations: 205 kB / 0.7832 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.3298, allocations: 162.5 kB / 0.7834 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.33, allocations: 337.9 kB / 0.7837 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006689/0.3306, allocations: 288.7 kB / 0.784 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008371/0.3315, allocations: 0.489 MB / 0.7844 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.3329, allocations: 0.7051 MB / 0.7851 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3329, allocations: 0 / 0.7851 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005214/0.3382, allocations: 1.277 MB / 0.7864 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.3382, allocations: 8 kB / 0.7864 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.3383, allocations: 4 kB / 0.7864 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006397/0.3389, allocations: 132.9 kB / 0.7865 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.3396, allocations: 163.7 kB / 0.7867 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009193/0.3405, allocations: 0.7081 MB / 0.7874 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.3417, allocations: 123 kB / 0.7875 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.835e-05/0.3418, allocations: 35.98 kB / 0.7875 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001179/0.343, allocations: 0.5448 MB / 0.7881 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000863/0.3439, allocations: 0.4937 MB / 0.7885 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001451/0.3453, allocations: 0.7051 MB / 0.7892 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.578e-06/0.3453, allocations: 4 kB / 0.7892 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00477/0.3501, allocations: 1.265 MB / 0.7905 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3501, allocations: 11.94 kB / 0.7905 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.3502, allocations: 4 kB / 0.7905 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005049/0.3507, allocations: 140.7 kB / 0.7906 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.3513, allocations: 155.8 kB / 0.7908 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007937/0.3521, allocations: 0.6967 MB / 0.7914 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.3532, allocations: 95.58 kB / 0.7915 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/0.3532, allocations: 35.98 kB / 0.7916 GB, free: 5.09 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.0002412/0.3535, allocations: 235.2 kB / 0.7918 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/0.3538, allocations: 134.3 kB / 0.7919 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004637/0.3584, allocations: 1.275 MB / 0.7932 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.3585, allocations: 4 kB / 0.7932 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3585, allocations: 0 / 0.7932 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004041/0.3625, allocations: 1.107 MB / 0.7943 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006733/0.3693, allocations: 2.614 MB / 0.7968 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.3693, allocations: 4 kB / 0.7968 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/0.3698, allocations: 112.3 kB / 0.7969 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/0.3703, allocations: 136.7 kB / 0.797 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.556e-05/0.3703, allocations: 23.98 kB / 0.7971 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005139/0.3755, allocations: 2.635 MB / 0.7996 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.988e-06/0.3755, allocations: 8.031 kB / 0.7996 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005572/0.3811, allocations: 1.703 MB / 0.8013 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006856/0.3818, allocations: 307.2 kB / 0.8016 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/0.3822, allocations: 16 kB / 0.8016 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009927/0.3832, allocations: 51.84 kB / 0.8017 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.3833, allocations: 64.3 kB / 0.8017 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.359e-05/0.3834, allocations: 35.98 kB / 0.8018 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001677/0.3851, allocations: 0.8818 MB / 0.8026 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.3851, allocations: 0 / 0.8026 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002312/0.3874, allocations: 0.7174 MB / 0.8033 GB, free: 8.629 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.00111/0.3885, allocations: 457.7 kB / 0.8038 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003081/0.3916, allocations: 1.117 MB / 0.8049 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.3916, allocations: 0 / 0.8049 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.3933, allocations: 0.5604 MB / 0.8054 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003803/0.3971, allocations: 0.8062 MB / 0.8062 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.4012, allocations: 2.27 MB / 0.8084 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000781/0.402, allocations: 1.187 MB / 0.8096 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001128/0.4031, allocations: 299 kB / 0.8099 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.4034, allocations: 107.4 kB / 0.81 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of SimCode: time 6.71e-07/0.4034, allocations: 0 / 0.81 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of Templates: time 0.4279/0.8313, allocations: 32.41 MB / 0.8416 GB, free: 131.6 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)