Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.001141, allocations: 115.4 kB / 16.39 MB, free: 5.957 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.001214/0.001214, allocations: 191 kB / 17.32 MB, free: 5.578 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 / 241 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.8016/0.8016, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 71.33 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1944, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06877/0.2632, allocations: 75.2 MB / 0.7338 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.5032/0.7665, allocations: 15.13 MB / 0.7485 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003506/0.77, allocations: 65.69 kB / 0.7486 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003214/0.7733, allocations: 0.8294 MB / 0.7494 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009038/0.7824, allocations: 2.582 MB / 0.7519 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004111/0.7865, allocations: 1.392 MB / 0.7533 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008231/0.7948, allocations: 4.393 MB / 0.7576 GB, free: 25.9 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003233/0.798, allocations: 1.448 MB / 0.759 GB, free: 25.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005829/0.8039, allocations: 1.648 MB / 0.7606 GB, free: 25.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003766/0.8077, allocations: 1.217 MB / 0.7618 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005526/0.8082, allocations: 163.3 kB / 0.7619 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004871/0.8131, allocations: 1.423 MB / 0.7633 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00067/0.8138, allocations: 402.4 kB / 0.7637 GB, free: 25.42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002039/0.8159, allocations: 0.907 MB / 0.7646 GB, free: 25.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006477/0.8223, allocations: 2.887 MB / 0.7674 GB, free: 24.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.8224, allocations: 2.469 kB / 0.7674 GB, free: 24.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8224, allocations: 0 / 0.7674 GB, free: 24.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.488e-05/0.8225, allocations: 2.031 kB / 0.7674 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.004864/0.8273, allocations: 2.098 MB / 0.7695 GB, free: 23.76 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.8274, allocations: 8.938 kB / 0.7695 GB, free: 23.76 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009564/0.8284, allocations: 232.4 kB / 0.7697 GB, free: 23.67 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.8311, allocations: 1.537 MB / 0.7712 GB, free: 23.24 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/0.8312, allocations: 75.31 kB / 0.7713 GB, free: 23.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.8314, allocations: 107.4 kB / 0.7714 GB, free: 23.24 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.8336, allocations: 1.098 MB / 0.7725 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.8336, allocations: 1.594 kB / 0.7725 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.727e-05/0.8337, allocations: 41.72 kB / 0.7725 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/0.8338, allocations: 25.09 kB / 0.7725 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.8359, allocations: 0.8935 MB / 0.7734 GB, free: 23.09 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.00679/0.8427, allocations: 4.921 MB / 0.7782 GB, free: 20.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.8442, allocations: 0.6107 MB / 0.7788 GB, free: 20.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007677/0.845, allocations: 353.8 kB / 0.7791 GB, free: 20.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005164/0.8455, allocations: 0.8375 MB / 0.7799 GB, free: 19.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.8455, allocations: 41.94 kB / 0.78 GB, free: 19.87 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 3.456e-06/0.8455, allocations: 0 / 0.78 GB, free: 19.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.00509/0.8506, allocations: 1.401 MB / 0.7814 GB, free: 19.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.8507, allocations: 58.31 kB / 0.7814 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.8526, allocations: 1.233 MB / 0.7826 GB, free: 19.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.8527, allocations: 43.05 kB / 0.7827 GB, free: 19.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004749/0.8532, allocations: 0.6019 MB / 0.7832 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.8535, allocations: 219.3 kB / 0.7835 GB, free: 18.67 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.8537, allocations: 155.9 kB / 0.7836 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.8538, allocations: 336 kB / 0.7839 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000695/0.8545, allocations: 289.3 kB / 0.7842 GB, free: 18.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007853/0.8553, allocations: 498.3 kB / 0.7847 GB, free: 17.87 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.8566, allocations: 0.7041 MB / 0.7854 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.8567, allocations: 10.56 kB / 0.7854 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004662/0.8613, allocations: 1.273 MB / 0.7866 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.8614, allocations: 7.594 kB / 0.7866 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.8614, allocations: 5.516 kB / 0.7866 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007097/0.8621, allocations: 156.2 kB / 0.7868 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.8627, allocations: 154.5 kB / 0.7869 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007963/0.8635, allocations: 0.71 MB / 0.7876 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.8648, allocations: 121.2 kB / 0.7877 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.603e-05/0.8649, allocations: 36.33 kB / 0.7878 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001211/0.8662, allocations: 0.5561 MB / 0.7883 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008034/0.867, allocations: 0.4893 MB / 0.7888 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001256/0.8682, allocations: 0.6964 MB / 0.7895 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.408e-06/0.8683, allocations: 2.594 kB / 0.7895 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004511/0.8728, allocations: 1.259 MB / 0.7907 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.8728, allocations: 5.781 kB / 0.7907 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.8728, allocations: 5 kB / 0.7907 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005848/0.8734, allocations: 152.5 kB / 0.7909 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/0.874, allocations: 161.2 kB / 0.791 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007749/0.8748, allocations: 0.7196 MB / 0.7917 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.8762, allocations: 95.95 kB / 0.7918 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.23e-05/0.8763, allocations: 34.48 kB / 0.7918 GB, free: 13.98 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002803/0.8766, allocations: 228.4 kB / 0.7921 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004497/0.877, allocations: 135.8 kB / 0.7922 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004495/0.8815, allocations: 1.259 MB / 0.7934 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.8816, allocations: 5.844 kB / 0.7934 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.8816, allocations: 3.984 kB / 0.7934 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003866/0.8855, allocations: 1.091 MB / 0.7945 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005181/0.8907, allocations: 2.313 MB / 0.7967 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.8907, allocations: 7.234 kB / 0.7968 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004563/0.8912, allocations: 115 kB / 0.7969 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000561/0.8917, allocations: 144.3 kB / 0.797 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.8918, allocations: 23.67 kB / 0.797 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006872/0.8925, allocations: 0.7088 MB / 0.7977 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.8925, allocations: 6.656 kB / 0.7977 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/0.8953, allocations: 1.402 MB / 0.7991 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008416/0.8962, allocations: 304.1 kB / 0.7994 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004711/0.8967, allocations: 31 kB / 0.7994 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.8978, allocations: 53.12 kB / 0.7995 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.8979, allocations: 53.53 kB / 0.7995 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.893e-05/0.898, allocations: 33.86 kB / 0.7995 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001564/0.8996, allocations: 0.8882 MB / 0.8004 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8996, allocations: 0 / 0.8004 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002981/0.9026, allocations: 0.7114 MB / 0.8011 GB, free: 8.191 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001303/0.9039, allocations: 458.5 kB / 0.8015 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002847/0.9068, allocations: 1.125 MB / 0.8026 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.9068, allocations: 0 / 0.8026 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009561/0.9077, allocations: 400.9 kB / 0.803 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004737/0.9125, allocations: 0.8105 MB / 0.8038 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.9172, allocations: 2.31 MB / 0.8061 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007939/0.918, allocations: 1.164 MB / 0.8072 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/0.9185, allocations: 115.4 kB / 0.8073 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.9185, allocations: 7.938 kB / 0.8073 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of Templates: time 0.04773/0.9662, allocations: 31.2 MB / 0.8378 GB, free: 4.641 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)