Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001045/0.001045, allocations: 112 kB / 16.42 MB, free: 6.441 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.001061/0.001061, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.248/1.248, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7434/0.7434, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 64.56 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1304, allocations: 80.92 MB / 0.6653 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06999/0.2005, allocations: 75.21 MB / 0.7388 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3359/0.5364, allocations: 15.12 MB / 0.7535 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002413/0.5389, allocations: 66.41 kB / 0.7536 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.5414, allocations: 0.8534 MB / 0.7544 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006726/0.5482, allocations: 2.72 MB / 0.7571 GB, free: 25.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.5517, allocations: 1.391 MB / 0.7585 GB, free: 25.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00642/0.5581, allocations: 4.405 MB / 0.7628 GB, free: 25.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002666/0.5608, allocations: 1.451 MB / 0.7642 GB, free: 25.67 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004553/0.5654, allocations: 1.679 MB / 0.7658 GB, free: 25.58 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002575/0.568, allocations: 1.218 MB / 0.767 GB, free: 25.36 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003508/0.5683, allocations: 162.4 kB / 0.7672 GB, free: 25.36 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.5721, allocations: 1.405 MB / 0.7685 GB, free: 25.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004363/0.5725, allocations: 398 kB / 0.7689 GB, free: 25.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.5739, allocations: 0.908 MB / 0.7698 GB, free: 25.04 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005292/0.5792, allocations: 2.871 MB / 0.7726 GB, free: 24.69 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.5793, allocations: 1.312 kB / 0.7726 GB, free: 24.69 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.937e-06/0.5793, allocations: 0 / 0.7726 GB, free: 24.69 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.334e-05/0.5793, allocations: 3.938 kB / 0.7726 GB, free: 24.69 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.004798/0.5842, allocations: 2.08 MB / 0.7746 GB, free: 23.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.944e-05/0.5842, allocations: 14.25 kB / 0.7747 GB, free: 23.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.5853, allocations: 232.7 kB / 0.7749 GB, free: 23.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/0.5884, allocations: 1.517 MB / 0.7764 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.67e-05/0.5885, allocations: 79.14 kB / 0.7764 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.5887, allocations: 101.2 kB / 0.7765 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.591, allocations: 1.099 MB / 0.7776 GB, free: 22.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.591, allocations: 8.984 kB / 0.7776 GB, free: 22.97 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.895e-05/0.5911, allocations: 41.53 kB / 0.7776 GB, free: 22.97 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.568e-05/0.5912, allocations: 33.38 kB / 0.7777 GB, free: 22.97 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.5931, allocations: 0.89 MB / 0.7786 GB, free: 22.96 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.005625/0.5988, allocations: 4.905 MB / 0.7833 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.6001, allocations: 0.6107 MB / 0.7839 GB, free: 19.83 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006618/0.6008, allocations: 353.4 kB / 0.7843 GB, free: 19.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004279/0.6012, allocations: 0.8275 MB / 0.7851 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.6013, allocations: 38.78 kB / 0.7851 GB, free: 18.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.106e-06/0.6013, allocations: 3.844 kB / 0.7851 GB, free: 18.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006999/0.6083, allocations: 1.694 MB / 0.7868 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/0.6083, allocations: 62.14 kB / 0.7868 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.6099, allocations: 1.224 MB / 0.788 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.61, allocations: 42.58 kB / 0.7881 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.6104, allocations: 0.6071 MB / 0.7887 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.6106, allocations: 214.2 kB / 0.7889 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.6108, allocations: 155 kB / 0.789 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.6108, allocations: 342.3 kB / 0.7893 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005888/0.6114, allocations: 286 kB / 0.7896 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007011/0.6121, allocations: 0.492 MB / 0.7901 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.6134, allocations: 0.7143 MB / 0.7908 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.6134, allocations: 1.438 kB / 0.7908 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004409/0.6178, allocations: 1.27 MB / 0.792 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.6179, allocations: 6.781 kB / 0.792 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.6179, allocations: 9.531 kB / 0.7921 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005403/0.6184, allocations: 137.8 kB / 0.7922 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.619, allocations: 153.8 kB / 0.7923 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006705/0.6197, allocations: 0.7155 MB / 0.793 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.6209, allocations: 115.9 kB / 0.7931 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.895e-05/0.6209, allocations: 36.48 kB / 0.7932 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009993/0.622, allocations: 0.5464 MB / 0.7937 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006625/0.6226, allocations: 0.4909 MB / 0.7942 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001146/0.6238, allocations: 0.6993 MB / 0.7949 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.845e-06/0.6238, allocations: 5.406 kB / 0.7949 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004294/0.6281, allocations: 1.265 MB / 0.7961 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.6281, allocations: 5.562 kB / 0.7961 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.6281, allocations: 6.875 kB / 0.7961 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004357/0.6286, allocations: 142.4 kB / 0.7963 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.6291, allocations: 157 kB / 0.7964 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006125/0.6297, allocations: 0.7096 MB / 0.7971 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.6309, allocations: 95.02 kB / 0.7972 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.631, allocations: 36.58 kB / 0.7972 GB, free: 11.44 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.0002088/0.6312, allocations: 225.9 kB / 0.7974 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.6314, allocations: 139.4 kB / 0.7976 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00421/0.6356, allocations: 1.266 MB / 0.7988 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003713/0.6393, allocations: 1.097 MB / 0.7999 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6394, allocations: 2.625 kB / 0.7999 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006409/0.64, allocations: 298 kB / 0.8002 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.6402, allocations: 16.72 kB / 0.8002 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006939/0.6409, allocations: 48.81 kB / 0.8002 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/0.641, allocations: 56.92 kB / 0.8003 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002308/0.6433, allocations: 0.963 MB / 0.8012 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001971/0.6453, allocations: 1.326 MB / 0.8025 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000573/0.6459, allocations: 331.2 kB / 0.8028 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009834/0.6469, allocations: 0.8638 MB / 0.8037 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of Backend: time 4.61e-07/0.6469, allocations: 0 / 0.8037 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003349/0.6502, allocations: 1.377 MB / 0.805 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004793/0.6551, allocations: 3.156 MB / 0.8081 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of Templates: time 0.05092/0.706, allocations: 33.6 MB / 0.8409 GB, free: 3.539 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)