Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 110.9 kB / 16.42 MB, free: 6.512 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.001336/0.001336, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7922/0.7922, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.7 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1429, allocations: 80.21 MB / 0.6603 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.09567/0.2386, allocations: 75.17 MB / 0.7337 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4192/0.6578, allocations: 15.13 MB / 0.7485 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002579/0.6604, allocations: 66.66 kB / 0.7486 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.6625, allocations: 0.8565 MB / 0.7494 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006761/0.6694, allocations: 2.716 MB / 0.7521 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.6726, allocations: 1.395 MB / 0.7534 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006415/0.679, allocations: 4.408 MB / 0.7577 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002736/0.6817, allocations: 1.446 MB / 0.7592 GB, free: 25.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005331/0.6871, allocations: 1.694 MB / 0.7608 GB, free: 25.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003069/0.6902, allocations: 1.212 MB / 0.762 GB, free: 25.47 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006322/0.6908, allocations: 162.3 kB / 0.7621 GB, free: 25.47 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004672/0.6955, allocations: 1.407 MB / 0.7635 GB, free: 25.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009615/0.6965, allocations: 404.7 kB / 0.7639 GB, free: 25.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002288/0.6988, allocations: 0.9073 MB / 0.7648 GB, free: 25.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005977/0.7048, allocations: 2.881 MB / 0.7676 GB, free: 24.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.7048, allocations: 0 / 0.7676 GB, free: 24.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7048, allocations: 1.75 kB / 0.7676 GB, free: 24.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.397e-05/0.7049, allocations: 0 / 0.7676 GB, free: 24.8 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.005076/0.71, allocations: 2.084 MB / 0.7696 GB, free: 23.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.71, allocations: 9.984 kB / 0.7697 GB, free: 23.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009504/0.711, allocations: 235.1 kB / 0.7699 GB, free: 23.65 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.7136, allocations: 1.527 MB / 0.7714 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/0.7137, allocations: 77.52 kB / 0.7714 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.7139, allocations: 103.8 kB / 0.7715 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.7159, allocations: 1.097 MB / 0.7726 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.7159, allocations: 8.75 kB / 0.7726 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.261e-05/0.716, allocations: 37.12 kB / 0.7727 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.7161, allocations: 26.97 kB / 0.7727 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.7179, allocations: 0.8957 MB / 0.7736 GB, free: 23.08 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.005903/0.7238, allocations: 4.903 MB / 0.7783 GB, free: 20.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.7253, allocations: 0.6131 MB / 0.7789 GB, free: 20.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006883/0.726, allocations: 355.1 kB / 0.7793 GB, free: 20.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004342/0.7265, allocations: 0.827 MB / 0.7801 GB, free: 19.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.7265, allocations: 40.62 kB / 0.7801 GB, free: 19.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.787e-06/0.7265, allocations: 3 kB / 0.7801 GB, free: 19.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007201/0.7337, allocations: 1.695 MB / 0.7818 GB, free: 19.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.7337, allocations: 57.12 kB / 0.7818 GB, free: 19.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.7354, allocations: 1.235 MB / 0.783 GB, free: 19.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.902e-05/0.7355, allocations: 43.33 kB / 0.7831 GB, free: 19.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.7359, allocations: 0.6051 MB / 0.7837 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.7361, allocations: 208 kB / 0.7839 GB, free: 18.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.7363, allocations: 155.4 kB / 0.784 GB, free: 18.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.701e-05/0.7364, allocations: 336.7 kB / 0.7843 GB, free: 18.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000677/0.737, allocations: 290.4 kB / 0.7846 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007759/0.7378, allocations: 0.4946 MB / 0.7851 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.7391, allocations: 0.7172 MB / 0.7858 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.7392, allocations: 6.875 kB / 0.7858 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004711/0.7439, allocations: 1.264 MB / 0.787 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.7439, allocations: 10.25 kB / 0.7871 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.7439, allocations: 4.156 kB / 0.7871 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/0.7445, allocations: 140.5 kB / 0.7872 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.7451, allocations: 152.8 kB / 0.7873 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007464/0.7459, allocations: 0.7047 MB / 0.788 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.7472, allocations: 125.7 kB / 0.7881 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-05/0.7473, allocations: 31.11 kB / 0.7882 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001066/0.7484, allocations: 0.5476 MB / 0.7887 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000728/0.7491, allocations: 0.4927 MB / 0.7892 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001295/0.7504, allocations: 0.7016 MB / 0.7899 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.571e-06/0.7504, allocations: 2.625 kB / 0.7899 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005887/0.7563, allocations: 1.268 MB / 0.7911 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.7564, allocations: 8.688 kB / 0.7911 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.7564, allocations: 7.344 kB / 0.7911 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007015/0.7571, allocations: 133.6 kB / 0.7913 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008892/0.758, allocations: 162 kB / 0.7914 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009398/0.7589, allocations: 0.7089 MB / 0.7921 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.7609, allocations: 94.42 kB / 0.7922 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.761, allocations: 38.3 kB / 0.7922 GB, free: 13.65 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.000373/0.7614, allocations: 228.7 kB / 0.7925 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005346/0.7619, allocations: 140 kB / 0.7926 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006342/0.7683, allocations: 1.257 MB / 0.7938 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004617/0.7729, allocations: 1.105 MB / 0.7949 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.773, allocations: 4 kB / 0.7949 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.7741, allocations: 307.2 kB / 0.7952 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005569/0.7747, allocations: 10.44 kB / 0.7952 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.7759, allocations: 55.28 kB / 0.7953 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.776, allocations: 47.95 kB / 0.7953 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002663/0.7787, allocations: 0.9619 MB / 0.7962 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00242/0.7811, allocations: 1.334 MB / 0.7975 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005834/0.7817, allocations: 326.1 kB / 0.7979 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00143/0.7832, allocations: 0.8641 MB / 0.7987 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of Backend: time 4.51e-07/0.7832, allocations: 0 / 0.7987 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004404/0.7876, allocations: 1.379 MB / 0.8 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005708/0.7933, allocations: 3.145 MB / 0.8031 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of Templates: time 0.05111/0.8444, allocations: 33.55 MB / 0.8359 GB, free: 6.871 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)