Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001075/0.001075, allocations: 108.2 kB / 16.41 MB, free: 6.516 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.001139/0.001139, allocations: 187.9 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.236/1.236, 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-master/package.mo): time 0.738/0.738, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 64.33 kB / 0.5863 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1432, allocations: 80.92 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.06709/0.2103, allocations: 75.17 MB / 0.7387 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3582/0.5686, allocations: 15.14 MB / 0.7535 GB, free: 25.99 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.5708, allocations: 67.22 kB / 0.7536 GB, free: 25.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.5727, allocations: 0.8514 MB / 0.7544 GB, free: 25.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006136/0.5789, allocations: 2.721 MB / 0.757 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003166/0.582, allocations: 1.394 MB / 0.7584 GB, free: 25.89 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005949/0.588, allocations: 4.404 MB / 0.7627 GB, free: 25.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003019/0.591, allocations: 1.452 MB / 0.7641 GB, free: 25.71 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00445/0.5955, allocations: 1.688 MB / 0.7658 GB, free: 25.63 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002687/0.5982, allocations: 1.22 MB / 0.767 GB, free: 25.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005962/0.5988, allocations: 163.7 kB / 0.7671 GB, free: 25.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004041/0.6028, allocations: 1.4 MB / 0.7685 GB, free: 25.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007467/0.6036, allocations: 400.3 kB / 0.7689 GB, free: 25.33 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002379/0.606, allocations: 0.9102 MB / 0.7698 GB, free: 25.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005881/0.6119, allocations: 2.878 MB / 0.7726 GB, free: 24.74 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6119, allocations: 3.938 kB / 0.7726 GB, free: 24.74 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6119, allocations: 0 / 0.7726 GB, free: 24.74 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.83e-05/0.612, allocations: 1.25 kB / 0.7726 GB, free: 24.74 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.00521/0.6172, allocations: 2.087 MB / 0.7746 GB, free: 23.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.6173, allocations: 9.422 kB / 0.7746 GB, free: 23.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.6183, allocations: 232.1 kB / 0.7748 GB, free: 23.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/0.6215, allocations: 1.529 MB / 0.7763 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-05/0.6216, allocations: 84.48 kB / 0.7764 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.6218, allocations: 100.3 kB / 0.7765 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.6241, allocations: 1.096 MB / 0.7776 GB, free: 23.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.6241, allocations: 7.906 kB / 0.7776 GB, free: 23.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.6242, allocations: 39.72 kB / 0.7776 GB, free: 23.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.6243, allocations: 30.5 kB / 0.7777 GB, free: 23.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.6262, allocations: 0.8867 MB / 0.7785 GB, free: 23.01 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.005312/0.6315, allocations: 4.912 MB / 0.7833 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.6329, allocations: 0.6092 MB / 0.7839 GB, free: 19.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006471/0.6335, allocations: 355.5 kB / 0.7843 GB, free: 19.76 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004038/0.6339, allocations: 0.8242 MB / 0.7851 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.634, allocations: 43.62 kB / 0.7851 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.434e-06/0.634, allocations: 0 / 0.7851 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006737/0.6407, allocations: 1.698 MB / 0.7868 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/0.6407, allocations: 57.75 kB / 0.7868 GB, free: 18.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.6423, allocations: 1.234 MB / 0.788 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.05e-05/0.6423, allocations: 39.98 kB / 0.7881 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.6427, allocations: 0.6061 MB / 0.7886 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.6429, allocations: 211.9 kB / 0.7888 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.6431, allocations: 155.1 kB / 0.789 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.042e-05/0.6431, allocations: 336.8 kB / 0.7893 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000622/0.6438, allocations: 287.3 kB / 0.7896 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007456/0.6445, allocations: 0.4928 MB / 0.7901 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.6458, allocations: 0.7127 MB / 0.7908 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6458, allocations: 1.375 kB / 0.7908 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004309/0.6502, allocations: 1.269 MB / 0.792 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.6502, allocations: 9.094 kB / 0.792 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6502, allocations: 2.969 kB / 0.792 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/0.6508, allocations: 135.5 kB / 0.7921 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/0.6513, allocations: 164.1 kB / 0.7923 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006623/0.652, allocations: 0.7056 MB / 0.793 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.6531, allocations: 125.9 kB / 0.7931 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.6532, allocations: 36.61 kB / 0.7932 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009302/0.6541, allocations: 0.5459 MB / 0.7937 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006777/0.6548, allocations: 499.7 kB / 0.7942 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001227/0.656, allocations: 0.7082 MB / 0.7949 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.806e-06/0.6561, allocations: 0 / 0.7949 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004184/0.6602, allocations: 1.263 MB / 0.7961 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.6603, allocations: 12.19 kB / 0.7961 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6603, allocations: 6.625 kB / 0.7961 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004354/0.6607, allocations: 143.8 kB / 0.7962 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.6613, allocations: 161 kB / 0.7964 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006107/0.6619, allocations: 0.7032 MB / 0.7971 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.663, allocations: 94.67 kB / 0.7972 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/0.663, allocations: 39.17 kB / 0.7972 GB, free: 11.5 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.0001883/0.6632, allocations: 222.8 kB / 0.7974 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.6635, allocations: 140.1 kB / 0.7976 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004194/0.6677, allocations: 1.267 MB / 0.7988 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003709/0.6714, allocations: 1.1 MB / 0.7999 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6714, allocations: 6.625 kB / 0.7999 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005856/0.672, allocations: 297.5 kB / 0.8002 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/0.6723, allocations: 13 kB / 0.8002 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008153/0.6731, allocations: 49.62 kB / 0.8002 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.6733, allocations: 51.77 kB / 0.8003 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002375/0.6756, allocations: 0.964 MB / 0.8012 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002136/0.6778, allocations: 1.335 MB / 0.8025 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005967/0.6784, allocations: 324.6 kB / 0.8028 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001165/0.6796, allocations: 0.8609 MB / 0.8037 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of Backend: time 4.21e-07/0.6796, allocations: 0 / 0.8037 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003617/0.6832, allocations: 1.376 MB / 0.805 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004932/0.6881, allocations: 3.149 MB / 0.8081 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.04927/0.7374, allocations: 33.57 MB / 0.8409 GB, free: 3.543 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)