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.001476/0.001476, allocations: 106.3 kB / 16.41 MB, free: 6.457 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.001918/0.001918, allocations: 185.6 kB / 17.35 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.441/1.441, 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.8683/0.8683, allocations: 135.2 MB / 426.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 71.44 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1798, allocations: 80.93 MB / 0.6654 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.08511/0.2649, allocations: 75.31 MB / 0.7389 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4242/0.6891, allocations: 15.15 MB / 0.7537 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002987/0.6921, allocations: 67.03 kB / 0.7538 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.6948, allocations: 0.865 MB / 0.7546 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008462/0.7032, allocations: 2.719 MB / 0.7573 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004069/0.7073, allocations: 1.389 MB / 0.7586 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00829/0.7156, allocations: 4.398 MB / 0.7629 GB, free: 25.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003/0.7186, allocations: 1.193 MB / 0.7641 GB, free: 25.8 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005779/0.7244, allocations: 1.679 MB / 0.7657 GB, free: 25.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003508/0.7279, allocations: 1.22 MB / 0.7669 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000664/0.7286, allocations: 163 kB / 0.7671 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004732/0.7333, allocations: 1.411 MB / 0.7684 GB, free: 25.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007766/0.7341, allocations: 418 kB / 0.7688 GB, free: 25.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002135/0.7362, allocations: 0.9072 MB / 0.7697 GB, free: 25.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006496/0.7427, allocations: 2.885 MB / 0.7725 GB, free: 24.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.7427, allocations: 1.188 kB / 0.7725 GB, free: 24.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7427, allocations: 0 / 0.7725 GB, free: 24.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.075e-05/0.7428, allocations: 0 / 0.7725 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.005366/0.7481, allocations: 2.145 MB / 0.7746 GB, free: 23.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.7482, allocations: 9.141 kB / 0.7746 GB, free: 23.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.7493, allocations: 244 kB / 0.7749 GB, free: 23.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/0.7527, allocations: 1.546 MB / 0.7764 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-05/0.7527, allocations: 82.62 kB / 0.7765 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.7529, allocations: 97.47 kB / 0.7766 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/0.7554, allocations: 1.1 MB / 0.7776 GB, free: 23.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.7554, allocations: 2 kB / 0.7776 GB, free: 23.03 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.7555, allocations: 38.09 kB / 0.7777 GB, free: 23.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.7555, allocations: 26.12 kB / 0.7777 GB, free: 23.03 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.7578, allocations: 0.895 MB / 0.7786 GB, free: 23.02 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.007269/0.765, allocations: 4.921 MB / 0.7834 GB, free: 19.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.7665, allocations: 0.5828 MB / 0.7839 GB, free: 19.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007021/0.7672, allocations: 322.5 kB / 0.7842 GB, free: 19.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004884/0.7677, allocations: 0.8267 MB / 0.7851 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.7677, allocations: 47.38 kB / 0.7851 GB, free: 18.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.775e-06/0.7677, allocations: 1.156 kB / 0.7851 GB, free: 18.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007382/0.7751, allocations: 1.691 MB / 0.7868 GB, free: 18.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.7752, allocations: 58.69 kB / 0.7868 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.7771, allocations: 1.233 MB / 0.788 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001926/0.7773, allocations: 40.08 kB / 0.7881 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.7778, allocations: 0.6221 MB / 0.7887 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.778, allocations: 227.1 kB / 0.7889 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.7782, allocations: 150.5 kB / 0.789 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.7783, allocations: 333.5 kB / 0.7893 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007046/0.779, allocations: 290.3 kB / 0.7896 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000817/0.7798, allocations: 0.4901 MB / 0.7901 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.7812, allocations: 0.7091 MB / 0.7908 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.7812, allocations: 5.312 kB / 0.7908 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004735/0.786, allocations: 1.283 MB / 0.792 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.786, allocations: 5.062 kB / 0.792 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.786, allocations: 5.688 kB / 0.7921 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/0.7866, allocations: 138.5 kB / 0.7922 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006446/0.7872, allocations: 161 kB / 0.7923 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007557/0.788, allocations: 0.7066 MB / 0.793 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.7895, allocations: 125.2 kB / 0.7931 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.7896, allocations: 32.95 kB / 0.7932 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00121/0.7908, allocations: 0.5454 MB / 0.7937 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007465/0.7915, allocations: 500 kB / 0.7942 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001242/0.7928, allocations: 0.7113 MB / 0.7949 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.108e-06/0.7928, allocations: 3.938 kB / 0.7949 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004488/0.7973, allocations: 1.267 MB / 0.7961 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.7973, allocations: 8.75 kB / 0.7961 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.7973, allocations: 5.141 kB / 0.7961 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004932/0.7978, allocations: 142 kB / 0.7963 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.7984, allocations: 156.6 kB / 0.7964 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007166/0.7991, allocations: 0.7041 MB / 0.7971 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.8006, allocations: 103 kB / 0.7972 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/0.8007, allocations: 31.83 kB / 0.7972 GB, free: 11.3 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.0002942/0.801, allocations: 225.8 kB / 0.7975 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/0.8013, allocations: 143.6 kB / 0.7976 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004382/0.8057, allocations: 1.269 MB / 0.7988 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.8057, allocations: 9.719 kB / 0.7988 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.8057, allocations: 0 / 0.7988 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003793/0.8095, allocations: 1.096 MB / 0.7999 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00712/0.8166, allocations: 2.612 MB / 0.8025 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/0.8166, allocations: 9.781 kB / 0.8025 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.8171, allocations: 116.6 kB / 0.8026 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005138/0.8176, allocations: 131.2 kB / 0.8027 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/0.8177, allocations: 15.22 kB / 0.8027 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004635/0.8223, allocations: 2.636 MB / 0.8053 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.8223, allocations: 6.594 kB / 0.8053 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005284/0.8276, allocations: 1.705 MB / 0.807 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000809/0.8284, allocations: 305.7 kB / 0.8073 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.8286, allocations: 20.23 kB / 0.8073 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008008/0.8294, allocations: 56.59 kB / 0.8073 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.8296, allocations: 61.33 kB / 0.8074 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/0.8296, allocations: 29.8 kB / 0.8074 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001233/0.8309, allocations: 0.8879 MB / 0.8083 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8309, allocations: 3.938 kB / 0.8083 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002219/0.8331, allocations: 0.7246 MB / 0.809 GB, free: 3.527 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.0009947/0.8341, allocations: 466.6 kB / 0.8094 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002427/0.8365, allocations: 1.069 MB / 0.8105 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/0.8365, allocations: 0 / 0.8105 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/0.8379, allocations: 0.5427 MB / 0.811 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00388/0.8418, allocations: 0.7908 MB / 0.8118 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/0.8462, allocations: 2.345 MB / 0.8141 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009617/0.8472, allocations: 1.16 MB / 0.8152 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/0.8478, allocations: 123.3 kB / 0.8153 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of SimCode: time 1.432e-06/0.8478, allocations: 0 / 0.8153 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of Templates: time 0.05126/0.899, allocations: 31.44 MB / 0.846 GB, free: 13.92 MB / 0.6231 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)