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.006394/0.006394, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001246/0.001246, allocations: 199.1 kB / 16.68 MB, free: 5.93 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7701/0.7701, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 71.27 kB / 0.5814 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1623, allocations: 80.2 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.08622/0.2486, allocations: 75.2 MB / 0.7331 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3773/0.6259, allocations: 15.14 MB / 0.7479 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002517/0.6285, allocations: 63.69 kB / 0.748 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.6308, allocations: 0.856 MB / 0.7488 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008762/0.6396, allocations: 2.712 MB / 0.7515 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004342/0.644, allocations: 1.396 MB / 0.7528 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008084/0.6521, allocations: 4.403 MB / 0.7571 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002851/0.655, allocations: 1.449 MB / 0.7585 GB, free: 25.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005609/0.6606, allocations: 1.677 MB / 0.7602 GB, free: 25.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002787/0.6634, allocations: 1.212 MB / 0.7614 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003756/0.6638, allocations: 162.6 kB / 0.7615 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/0.6677, allocations: 1.408 MB / 0.7629 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005495/0.6683, allocations: 398.8 kB / 0.7633 GB, free: 25.42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.6697, allocations: 0.9073 MB / 0.7642 GB, free: 25.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004964/0.6747, allocations: 2.875 MB / 0.767 GB, free: 24.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6747, allocations: 0 / 0.767 GB, free: 24.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6747, allocations: 0.5938 kB / 0.767 GB, free: 24.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.282e-05/0.6748, allocations: 0 / 0.767 GB, free: 24.83 MB / 0.5762 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.004198/0.679, allocations: 2.091 MB / 0.769 GB, free: 23.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.679, allocations: 8.625 kB / 0.769 GB, free: 23.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008104/0.6798, allocations: 231.4 kB / 0.7692 GB, free: 23.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/0.6823, allocations: 1.52 MB / 0.7707 GB, free: 23.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.6824, allocations: 76.78 kB / 0.7708 GB, free: 23.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.6825, allocations: 101.6 kB / 0.7709 GB, free: 23.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.6844, allocations: 1.103 MB / 0.772 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.6844, allocations: 5.406 kB / 0.772 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.044e-05/0.6845, allocations: 37.31 kB / 0.772 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.6846, allocations: 30.17 kB / 0.772 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.6864, allocations: 0.891 MB / 0.7729 GB, free: 23.11 MB / 0.5762 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.005445/0.6918, allocations: 4.907 MB / 0.7777 GB, free: 20.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.6932, allocations: 0.6111 MB / 0.7783 GB, free: 20.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000642/0.6938, allocations: 360.6 kB / 0.7786 GB, free: 20.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004203/0.6943, allocations: 0.8202 MB / 0.7794 GB, free: 19.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.6943, allocations: 42.25 kB / 0.7795 GB, free: 19.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.053e-06/0.6943, allocations: 7.938 kB / 0.7795 GB, free: 19.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006521/0.7008, allocations: 1.691 MB / 0.7811 GB, free: 19.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.7009, allocations: 58.41 kB / 0.7812 GB, free: 19.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.7025, allocations: 1.226 MB / 0.7824 GB, free: 19.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.89e-05/0.7026, allocations: 43.92 kB / 0.7824 GB, free: 19.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.703, allocations: 0.6025 MB / 0.783 GB, free: 18.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.7032, allocations: 216.8 kB / 0.7832 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.7034, allocations: 157.2 kB / 0.7834 GB, free: 18.47 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.7034, allocations: 334.5 kB / 0.7837 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005873/0.704, allocations: 289.2 kB / 0.784 GB, free: 18.06 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007119/0.7048, allocations: 499.9 kB / 0.7845 GB, free: 17.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.706, allocations: 0.7131 MB / 0.7852 GB, free: 17.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.706, allocations: 5.75 kB / 0.7852 GB, free: 17.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004492/0.7105, allocations: 1.274 MB / 0.7864 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.7105, allocations: 5.594 kB / 0.7864 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.7105, allocations: 5.609 kB / 0.7864 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/0.7112, allocations: 135.1 kB / 0.7865 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007087/0.7119, allocations: 154.4 kB / 0.7867 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007848/0.7127, allocations: 0.7114 MB / 0.7874 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.7141, allocations: 124.9 kB / 0.7875 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-05/0.7142, allocations: 31.12 kB / 0.7875 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001238/0.7155, allocations: 0.552 MB / 0.7881 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000688/0.7162, allocations: 0.4903 MB / 0.7886 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00112/0.7173, allocations: 0.7011 MB / 0.7892 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.839e-06/0.7173, allocations: 3.594 kB / 0.7892 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004124/0.7214, allocations: 1.265 MB / 0.7905 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.7215, allocations: 13.72 kB / 0.7905 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.7215, allocations: 2.219 kB / 0.7905 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004772/0.722, allocations: 138.8 kB / 0.7906 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/0.7226, allocations: 153.7 kB / 0.7908 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000692/0.7233, allocations: 0.7066 MB / 0.7915 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.7248, allocations: 101.9 kB / 0.7916 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.859e-05/0.7249, allocations: 37.33 kB / 0.7916 GB, free: 13.74 MB / 0.5762 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.0002506/0.7251, allocations: 231.8 kB / 0.7918 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.7254, allocations: 136.1 kB / 0.7919 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003998/0.7294, allocations: 1.263 MB / 0.7932 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.7294, allocations: 4.719 kB / 0.7932 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.7294, allocations: 4 kB / 0.7932 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003537/0.733, allocations: 1.101 MB / 0.7943 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006589/0.7396, allocations: 2.622 MB / 0.7968 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.7396, allocations: 5.812 kB / 0.7968 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004805/0.7401, allocations: 111.4 kB / 0.7969 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004348/0.7406, allocations: 128.1 kB / 0.7971 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/0.7406, allocations: 24.3 kB / 0.7971 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004102/0.7448, allocations: 2.631 MB / 0.7996 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.7448, allocations: 8 kB / 0.7997 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004665/0.7495, allocations: 1.7 MB / 0.8013 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006762/0.7501, allocations: 306.8 kB / 0.8016 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003171/0.7505, allocations: 16.06 kB / 0.8016 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008861/0.7514, allocations: 60.22 kB / 0.8017 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.7515, allocations: 64.27 kB / 0.8017 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.7516, allocations: 30.7 kB / 0.8018 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001203/0.7528, allocations: 0.8827 MB / 0.8026 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7528, allocations: 0 / 0.8026 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002043/0.7548, allocations: 0.7198 MB / 0.8033 GB, free: 6.086 MB / 0.5762 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.0009083/0.7558, allocations: 462.9 kB / 0.8038 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00228/0.758, allocations: 1.116 MB / 0.8049 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7581, allocations: 1.062 kB / 0.8049 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.7593, allocations: 0.5664 MB / 0.8054 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/0.7623, allocations: 0.7936 MB / 0.8062 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.7656, allocations: 2.274 MB / 0.8084 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.7661, allocations: 1.182 MB / 0.8096 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009808/0.7671, allocations: 305.7 kB / 0.8099 GB, free: 240 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.7673, allocations: 111.4 kB / 0.81 GB, free: 128 kB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.7673, allocations: 0 / 0.81 GB, free: 128 kB / 0.5762 GB Notification: Performance of Templates: time 0.0558/0.8231, allocations: 32.41 MB / 0.8416 GB, free: 164 kB / 0.6075 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)