Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008112/0.008112, allocations: 101.2 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.001494/0.001494, allocations: 198.5 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7924/0.7924, allocations: 132.2 MB / 422.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 66.86 kB / 0.5814 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1899, allocations: 80.2 MB / 0.6597 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07143/0.2614, allocations: 75.2 MB / 0.7331 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02298/0.2844, allocations: 15.14 MB / 0.7479 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003742/0.2882, allocations: 63.62 kB / 0.748 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003039/0.2913, allocations: 0.8579 MB / 0.7488 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008987/0.3003, allocations: 2.717 MB / 0.7515 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004213/0.3046, allocations: 1.4 MB / 0.7528 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007546/0.3121, allocations: 4.404 MB / 0.7571 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003036/0.3152, allocations: 1.441 MB / 0.7586 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005068/0.3203, allocations: 1.679 MB / 0.7602 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002853/0.3232, allocations: 1.217 MB / 0.7614 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003588/0.3235, allocations: 160 kB / 0.7615 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00422/0.3278, allocations: 1.408 MB / 0.7629 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006045/0.3284, allocations: 398.6 kB / 0.7633 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.33, allocations: 0.906 MB / 0.7642 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006373/0.3364, allocations: 2.875 MB / 0.767 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3364, allocations: 3.938 kB / 0.767 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3364, allocations: 0 / 0.767 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.669e-05/0.3365, allocations: 0 / 0.767 GB, free: 15.19 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.00437/0.3409, allocations: 2.079 MB / 0.769 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.3409, allocations: 8.031 kB / 0.769 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009112/0.3418, allocations: 230.8 kB / 0.7692 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.3446, allocations: 1.52 MB / 0.7707 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.523e-05/0.3447, allocations: 78 kB / 0.7708 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.3449, allocations: 107.9 kB / 0.7709 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.3471, allocations: 1.1 MB / 0.772 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.3471, allocations: 3.938 kB / 0.772 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.162e-05/0.3472, allocations: 39.98 kB / 0.772 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.3472, allocations: 32 kB / 0.7721 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.3492, allocations: 0.89 MB / 0.7729 GB, free: 8.949 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.00678/0.356, allocations: 4.907 MB / 0.7777 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.3576, allocations: 0.6165 MB / 0.7783 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007382/0.3583, allocations: 342.8 kB / 0.7786 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000745/0.3591, allocations: 0.8238 MB / 0.7795 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.3591, allocations: 47.11 kB / 0.7795 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 3.366e-06/0.3592, allocations: 0 / 0.7795 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.007551/0.3667, allocations: 1.693 MB / 0.7811 GB, free: 12 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.3668, allocations: 59.95 kB / 0.7812 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/0.3689, allocations: 1.23 MB / 0.7824 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.369, allocations: 37.7 kB / 0.7824 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006585/0.3697, allocations: 0.6065 MB / 0.783 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.37, allocations: 220.9 kB / 0.7832 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.3703, allocations: 154.5 kB / 0.7834 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3704, allocations: 337.9 kB / 0.7837 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000698/0.3711, allocations: 284.7 kB / 0.784 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008806/0.372, allocations: 0.4929 MB / 0.7845 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.3735, allocations: 0.7051 MB / 0.7852 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3735, allocations: 0 / 0.7852 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005089/0.3786, allocations: 1.269 MB / 0.7864 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.3787, allocations: 11.98 kB / 0.7864 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.3787, allocations: 4 kB / 0.7864 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006601/0.3794, allocations: 133 kB / 0.7865 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006703/0.3801, allocations: 159.8 kB / 0.7867 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009715/0.381, allocations: 0.7044 MB / 0.7874 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.3824, allocations: 123 kB / 0.7875 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.3825, allocations: 35.98 kB / 0.7875 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001329/0.3839, allocations: 0.5448 MB / 0.7881 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009517/0.3849, allocations: 0.4937 MB / 0.7885 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001599/0.3865, allocations: 0.7051 MB / 0.7892 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.841e-06/0.3865, allocations: 4 kB / 0.7892 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005076/0.3916, allocations: 1.273 MB / 0.7905 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3916, allocations: 11.94 kB / 0.7905 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3916, allocations: 4 kB / 0.7905 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005463/0.3922, allocations: 143.7 kB / 0.7906 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/0.3928, allocations: 159.8 kB / 0.7908 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009067/0.3937, allocations: 0.6928 MB / 0.7915 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.395, allocations: 103.5 kB / 0.7916 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-05/0.3952, allocations: 32 kB / 0.7916 GB, free: 4.926 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.0003028/0.3955, allocations: 233.9 kB / 0.7918 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000604/0.3961, allocations: 138.3 kB / 0.7919 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005065/0.4011, allocations: 1.269 MB / 0.7932 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.4012, allocations: 4 kB / 0.7932 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.4012, allocations: 0 / 0.7932 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004368/0.4056, allocations: 1.111 MB / 0.7943 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00773/0.4133, allocations: 2.606 MB / 0.7968 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.4134, allocations: 4 kB / 0.7968 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005085/0.4139, allocations: 108.3 kB / 0.7969 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005184/0.4144, allocations: 140.7 kB / 0.7971 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.196e-05/0.4145, allocations: 19.98 kB / 0.7971 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005399/0.4199, allocations: 2.64 MB / 0.7997 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.42, allocations: 4 kB / 0.7997 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005826/0.4258, allocations: 1.699 MB / 0.8013 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00097/0.4268, allocations: 303.2 kB / 0.8016 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005262/0.4273, allocations: 19.98 kB / 0.8016 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.4286, allocations: 55.88 kB / 0.8017 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.4288, allocations: 64.31 kB / 0.8017 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.429, allocations: 35.97 kB / 0.8018 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001899/0.4309, allocations: 0.8818 MB / 0.8026 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4309, allocations: 0 / 0.8026 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003185/0.4341, allocations: 0.7174 MB / 0.8033 GB, free: 8.477 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.001466/0.4356, allocations: 468.1 kB / 0.8038 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003127/0.4387, allocations: 1.121 MB / 0.8049 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.4387, allocations: 0 / 0.8049 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.4404, allocations: 0.5681 MB / 0.8054 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004449/0.4448, allocations: 0.7998 MB / 0.8062 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/0.45, allocations: 2.268 MB / 0.8084 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.4513, allocations: 1.175 MB / 0.8096 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001592/0.4529, allocations: 306.6 kB / 0.8099 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.4533, allocations: 103.4 kB / 0.81 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of SimCode: time 1.482e-06/0.4533, allocations: 0 / 0.81 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of Templates: time 0.4183/0.8716, allocations: 32.42 MB / 0.8416 GB, free: 131.9 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)