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.001436/0.001436, allocations: 110.8 kB / 16.42 MB, free: 6.492 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.001455/0.001455, allocations: 185.7 kB / 17.35 MB, free: 5.762 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 / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7921/0.7921, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 60.8 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1526, allocations: 80.22 MB / 0.6604 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07503/0.2277, allocations: 75.2 MB / 0.7338 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3572/0.585, allocations: 15.13 MB / 0.7486 GB, free: 25.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002749/0.5877, allocations: 68.5 kB / 0.7487 GB, free: 25.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.5903, allocations: 0.855 MB / 0.7495 GB, free: 25.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007927/0.5983, allocations: 2.714 MB / 0.7521 GB, free: 25.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003418/0.6017, allocations: 1.4 MB / 0.7535 GB, free: 25.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007207/0.6089, allocations: 4.395 MB / 0.7578 GB, free: 25.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002886/0.6119, allocations: 1.449 MB / 0.7592 GB, free: 25.69 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005335/0.6172, allocations: 1.677 MB / 0.7609 GB, free: 25.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.6204, allocations: 1.221 MB / 0.762 GB, free: 25.44 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006758/0.6211, allocations: 162.4 kB / 0.7622 GB, free: 25.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004623/0.6257, allocations: 1.403 MB / 0.7636 GB, free: 25.42 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008916/0.6267, allocations: 398.3 kB / 0.7639 GB, free: 25.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00216/0.6288, allocations: 0.905 MB / 0.7648 GB, free: 25.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005635/0.6345, allocations: 2.869 MB / 0.7676 GB, free: 24.78 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.6345, allocations: 7.531 kB / 0.7676 GB, free: 24.78 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6345, allocations: 7.938 kB / 0.7676 GB, free: 24.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.219e-05/0.6346, allocations: 0 / 0.7676 GB, free: 24.77 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.004565/0.6391, allocations: 2.085 MB / 0.7697 GB, free: 23.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.6392, allocations: 8.969 kB / 0.7697 GB, free: 23.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008999/0.6401, allocations: 229.5 kB / 0.7699 GB, free: 23.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.6426, allocations: 1.519 MB / 0.7714 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-05/0.6427, allocations: 77 kB / 0.7715 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.6429, allocations: 109 kB / 0.7716 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.645, allocations: 1.096 MB / 0.7726 GB, free: 23.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.645, allocations: 4.25 kB / 0.7726 GB, free: 23.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.6451, allocations: 41.06 kB / 0.7727 GB, free: 23.06 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/0.6451, allocations: 28.81 kB / 0.7727 GB, free: 23.06 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.6471, allocations: 0.8896 MB / 0.7736 GB, free: 23.05 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.005668/0.6528, allocations: 4.907 MB / 0.7784 GB, free: 20.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.6542, allocations: 0.6091 MB / 0.779 GB, free: 20.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006995/0.6549, allocations: 359.8 kB / 0.7793 GB, free: 20.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004509/0.6554, allocations: 0.8269 MB / 0.7801 GB, free: 19.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.6554, allocations: 42.45 kB / 0.7802 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.015e-06/0.6554, allocations: 0 / 0.7802 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.00698/0.6624, allocations: 1.694 MB / 0.7818 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.6624, allocations: 62.16 kB / 0.7819 GB, free: 19.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.6641, allocations: 1.228 MB / 0.7831 GB, free: 19.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.311e-05/0.6642, allocations: 40.14 kB / 0.7831 GB, free: 19.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/0.6647, allocations: 0.6062 MB / 0.7837 GB, free: 18.65 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.6648, allocations: 214.6 kB / 0.7839 GB, free: 18.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.665, allocations: 151.2 kB / 0.7841 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.156e-05/0.6651, allocations: 334 kB / 0.7844 GB, free: 18.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/0.6657, allocations: 289.3 kB / 0.7846 GB, free: 18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007163/0.6664, allocations: 0.4935 MB / 0.7851 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.6677, allocations: 0.7104 MB / 0.7858 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6677, allocations: 0 / 0.7858 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004475/0.6722, allocations: 1.272 MB / 0.7871 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.6722, allocations: 6.688 kB / 0.7871 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.6722, allocations: 4.75 kB / 0.7871 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005735/0.6728, allocations: 144.9 kB / 0.7872 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.6734, allocations: 155.3 kB / 0.7874 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006867/0.6741, allocations: 0.7049 MB / 0.788 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.6752, allocations: 121.2 kB / 0.7882 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/0.6753, allocations: 32.73 kB / 0.7882 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009856/0.6763, allocations: 0.5499 MB / 0.7887 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006891/0.677, allocations: 0.491 MB / 0.7892 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001185/0.6782, allocations: 0.6972 MB / 0.7899 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.246e-06/0.6782, allocations: 2.344 kB / 0.7899 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004237/0.6824, allocations: 1.269 MB / 0.7911 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.6824, allocations: 8.344 kB / 0.7911 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.6825, allocations: 2.438 kB / 0.7911 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004337/0.6829, allocations: 142 kB / 0.7913 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.6834, allocations: 157.8 kB / 0.7914 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006366/0.6841, allocations: 0.7065 MB / 0.7921 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.6852, allocations: 101.5 kB / 0.7922 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.6853, allocations: 32.89 kB / 0.7922 GB, free: 13.69 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.0002177/0.6855, allocations: 237.3 kB / 0.7925 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.6857, allocations: 145.3 kB / 0.7926 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004365/0.6901, allocations: 1.256 MB / 0.7938 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003969/0.6941, allocations: 1.1 MB / 0.7949 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.6941, allocations: 0 / 0.7949 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009229/0.695, allocations: 298.7 kB / 0.7952 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.6952, allocations: 14.62 kB / 0.7952 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007257/0.696, allocations: 59.23 kB / 0.7953 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.6961, allocations: 49.11 kB / 0.7953 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002388/0.6985, allocations: 0.9679 MB / 0.7963 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002089/0.7006, allocations: 1.331 MB / 0.7976 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005738/0.7012, allocations: 323.1 kB / 0.7979 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001077/0.7022, allocations: 0.8615 MB / 0.7987 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of Backend: time 6.72e-07/0.7023, allocations: 0 / 0.7987 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003681/0.7059, allocations: 1.383 MB / 0.8001 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004775/0.7107, allocations: 3.14 MB / 0.8031 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of Templates: time 0.05099/0.7617, allocations: 33.58 MB / 0.8359 GB, free: 6.902 MB / 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)