Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001314/0.001314, allocations: 110.9 kB / 16.42 MB, free: 6.523 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.001119/0.00112, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.415/1.415, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8064/0.8064, allocations: 135.1 MB / 426.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 68.62 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1951, allocations: 80.92 MB / 0.6653 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07844/0.2736, allocations: 75.2 MB / 0.7388 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4931/0.7668, allocations: 15.12 MB / 0.7536 GB, free: 25.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003219/0.77, allocations: 67.81 kB / 0.7536 GB, free: 25.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003086/0.7732, allocations: 0.8545 MB / 0.7545 GB, free: 25.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008695/0.7819, allocations: 2.731 MB / 0.7571 GB, free: 25.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003969/0.7859, allocations: 1.385 MB / 0.7585 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00798/0.7939, allocations: 4.409 MB / 0.7628 GB, free: 25.86 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003391/0.7973, allocations: 1.445 MB / 0.7642 GB, free: 25.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005573/0.8029, allocations: 1.677 MB / 0.7658 GB, free: 25.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003376/0.8063, allocations: 1.224 MB / 0.767 GB, free: 25.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005102/0.8068, allocations: 163.7 kB / 0.7672 GB, free: 25.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004863/0.8117, allocations: 1.421 MB / 0.7686 GB, free: 25.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006582/0.8124, allocations: 399.2 kB / 0.7689 GB, free: 25.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00204/0.8144, allocations: 0.9097 MB / 0.7698 GB, free: 25.06 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006809/0.8212, allocations: 2.905 MB / 0.7727 GB, free: 24.7 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.8213, allocations: 1.75 kB / 0.7727 GB, free: 24.7 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8213, allocations: 0 / 0.7727 GB, free: 24.7 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.43e-05/0.8213, allocations: 0 / 0.7727 GB, free: 24.7 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.005572/0.8269, allocations: 2.153 MB / 0.7748 GB, free: 23.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.827, allocations: 9.641 kB / 0.7748 GB, free: 23.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009789/0.828, allocations: 235.7 kB / 0.775 GB, free: 23.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003086/0.8311, allocations: 1.545 MB / 0.7765 GB, free: 23.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.8312, allocations: 81.22 kB / 0.7766 GB, free: 23.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/0.8315, allocations: 100.8 kB / 0.7767 GB, free: 23.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.8341, allocations: 1.099 MB / 0.7778 GB, free: 22.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.8341, allocations: 5.203 kB / 0.7778 GB, free: 22.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/0.8342, allocations: 39.84 kB / 0.7778 GB, free: 22.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/0.8343, allocations: 26.72 kB / 0.7778 GB, free: 22.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.8362, allocations: 0.892 MB / 0.7787 GB, free: 22.91 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.00639/0.8426, allocations: 4.925 MB / 0.7835 GB, free: 19.97 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.844, allocations: 0.6262 MB / 0.7841 GB, free: 19.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/0.8447, allocations: 344 kB / 0.7845 GB, free: 19.63 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000481/0.8452, allocations: 0.8389 MB / 0.7853 GB, free: 18.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.8453, allocations: 39.31 kB / 0.7853 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 3.016e-06/0.8453, allocations: 0 / 0.7853 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.004912/0.8502, allocations: 1.413 MB / 0.7867 GB, free: 18.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.8502, allocations: 62.66 kB / 0.7868 GB, free: 18.08 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.852, allocations: 1.227 MB / 0.788 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.8521, allocations: 46.48 kB / 0.788 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.8526, allocations: 0.6084 MB / 0.7886 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.8528, allocations: 237.7 kB / 0.7888 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.853, allocations: 156.4 kB / 0.789 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.853, allocations: 338.1 kB / 0.7893 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005941/0.8536, allocations: 290.6 kB / 0.7896 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007352/0.8544, allocations: 495.5 kB / 0.79 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.8557, allocations: 0.7002 MB / 0.7907 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.8557, allocations: 5.438 kB / 0.7907 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004323/0.8601, allocations: 1.278 MB / 0.792 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.8601, allocations: 7.656 kB / 0.792 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.8601, allocations: 2.844 kB / 0.792 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006893/0.8608, allocations: 159.3 kB / 0.7921 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/0.8614, allocations: 158.6 kB / 0.7923 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007091/0.8621, allocations: 0.7114 MB / 0.793 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.8634, allocations: 115.6 kB / 0.7931 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/0.8635, allocations: 37.39 kB / 0.7931 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001062/0.8645, allocations: 0.5571 MB / 0.7937 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006811/0.8652, allocations: 496.1 kB / 0.7941 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001169/0.8664, allocations: 0.7003 MB / 0.7948 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.8664, allocations: 7.875 kB / 0.7948 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004214/0.8706, allocations: 1.276 MB / 0.7961 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.8707, allocations: 7.562 kB / 0.7961 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8707, allocations: 2.719 kB / 0.7961 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/0.8712, allocations: 152.7 kB / 0.7962 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/0.8719, allocations: 161.6 kB / 0.7964 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006582/0.8725, allocations: 0.7167 MB / 0.7971 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.8738, allocations: 104.8 kB / 0.7972 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/0.8739, allocations: 27.75 kB / 0.7972 GB, free: 11.46 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.0002715/0.8742, allocations: 231.2 kB / 0.7974 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.8745, allocations: 139.1 kB / 0.7976 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/0.8787, allocations: 1.257 MB / 0.7988 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00348/0.8822, allocations: 1.087 MB / 0.7999 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.8822, allocations: 3.906 kB / 0.7999 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009045/0.8831, allocations: 303.5 kB / 0.8002 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.8833, allocations: 22.73 kB / 0.8002 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/0.884, allocations: 46.5 kB / 0.8002 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.662e-05/0.8841, allocations: 43.44 kB / 0.8003 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002313/0.8865, allocations: 0.9712 MB / 0.8012 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002085/0.8886, allocations: 1.368 MB / 0.8025 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005654/0.8891, allocations: 326 kB / 0.8029 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001102/0.8902, allocations: 0.8601 MB / 0.8037 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of Backend: time 1.122e-06/0.8902, allocations: 4 kB / 0.8037 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003817/0.8941, allocations: 1.397 MB / 0.8051 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005059/0.8991, allocations: 3.212 MB / 0.8082 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of Templates: time 0.05711/0.9563, allocations: 33.94 MB / 0.8413 GB, free: 3.168 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)