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.008402/0.008402, allocations: 103.4 kB / 15.74 MB, free: 5.957 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.001975/0.001975, allocations: 192.6 kB / 16.68 MB, free: 5.887 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8176/0.8176, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 71.56 kB / 0.5856 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1828, allocations: 80.92 MB / 0.6646 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.07737/0.2602, allocations: 75.17 MB / 0.738 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4109/0.6712, allocations: 15.14 MB / 0.7528 GB, free: 26.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003381/0.6746, allocations: 68.08 kB / 0.7529 GB, free: 26.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.6768, allocations: 0.8544 MB / 0.7537 GB, free: 26.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00807/0.685, allocations: 2.716 MB / 0.7564 GB, free: 26.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003647/0.6886, allocations: 1.396 MB / 0.7577 GB, free: 26.4 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007506/0.6961, allocations: 4.412 MB / 0.762 GB, free: 26.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002886/0.699, allocations: 1.449 MB / 0.7635 GB, free: 26.22 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004457/0.7035, allocations: 1.685 MB / 0.7651 GB, free: 26.13 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.7056, allocations: 1.221 MB / 0.7663 GB, free: 25.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002654/0.7058, allocations: 163 kB / 0.7665 GB, free: 25.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003356/0.7092, allocations: 1.404 MB / 0.7678 GB, free: 25.89 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004053/0.7096, allocations: 402.2 kB / 0.7682 GB, free: 25.83 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.7107, allocations: 0.9053 MB / 0.7691 GB, free: 25.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004192/0.7149, allocations: 2.875 MB / 0.7719 GB, free: 25.24 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.7149, allocations: 0 / 0.7719 GB, free: 25.24 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7149, allocations: 1.094 kB / 0.7719 GB, free: 25.24 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.57e-05/0.7149, allocations: 0 / 0.7719 GB, free: 25.24 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.003594/0.7185, allocations: 2.093 MB / 0.7739 GB, free: 24.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.7186, allocations: 9.641 kB / 0.774 GB, free: 24.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008152/0.7194, allocations: 236.8 kB / 0.7742 GB, free: 24.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.7217, allocations: 1.522 MB / 0.7757 GB, free: 23.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/0.7218, allocations: 79.31 kB / 0.7757 GB, free: 23.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.722, allocations: 103.2 kB / 0.7758 GB, free: 23.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.724, allocations: 1.1 MB / 0.7769 GB, free: 23.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.724, allocations: 7.688 kB / 0.7769 GB, free: 23.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.787e-05/0.7241, allocations: 44.55 kB / 0.777 GB, free: 23.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-05/0.7241, allocations: 25.19 kB / 0.777 GB, free: 23.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.726, allocations: 0.8928 MB / 0.7779 GB, free: 23.51 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.005381/0.7314, allocations: 4.906 MB / 0.7826 GB, free: 20.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.7328, allocations: 0.611 MB / 0.7832 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006716/0.7335, allocations: 354.6 kB / 0.7836 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004447/0.7339, allocations: 0.8236 MB / 0.7844 GB, free: 18.97 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.734, allocations: 46 kB / 0.7844 GB, free: 18.92 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.144e-06/0.734, allocations: 4 kB / 0.7844 GB, free: 18.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007108/0.7411, allocations: 1.694 MB / 0.7861 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.7412, allocations: 63.27 kB / 0.7862 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.7426, allocations: 1.227 MB / 0.7873 GB, free: 17.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/0.7427, allocations: 42.64 kB / 0.7874 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/0.7431, allocations: 0.6048 MB / 0.788 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.7432, allocations: 209.9 kB / 0.7882 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.7435, allocations: 164.1 kB / 0.7883 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.134e-05/0.7435, allocations: 332.7 kB / 0.7887 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006368/0.7442, allocations: 290.3 kB / 0.7889 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007651/0.745, allocations: 0.4886 MB / 0.7894 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.7462, allocations: 0.7097 MB / 0.7901 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.7463, allocations: 5.312 kB / 0.7901 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004432/0.7507, allocations: 1.271 MB / 0.7913 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.7507, allocations: 8.625 kB / 0.7914 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.7507, allocations: 2.438 kB / 0.7914 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005478/0.7513, allocations: 139.7 kB / 0.7915 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00057/0.7519, allocations: 156.1 kB / 0.7916 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000716/0.7526, allocations: 0.709 MB / 0.7923 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.7537, allocations: 121.2 kB / 0.7924 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.236e-05/0.7538, allocations: 30.61 kB / 0.7925 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00102/0.7548, allocations: 0.5513 MB / 0.793 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007431/0.7556, allocations: 499 kB / 0.7935 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001292/0.7569, allocations: 0.7088 MB / 0.7942 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.948e-06/0.7569, allocations: 0 / 0.7942 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004393/0.7613, allocations: 1.26 MB / 0.7954 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.7613, allocations: 15.28 kB / 0.7954 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.7614, allocations: 0 / 0.7954 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004538/0.7618, allocations: 153.7 kB / 0.7956 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005519/0.7624, allocations: 154.1 kB / 0.7957 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006491/0.763, allocations: 0.704 MB / 0.7964 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.7642, allocations: 100.4 kB / 0.7965 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/0.7643, allocations: 34.98 kB / 0.7965 GB, free: 11.61 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.0002345/0.7646, allocations: 220.9 kB / 0.7967 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/0.7648, allocations: 137.3 kB / 0.7969 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004475/0.7693, allocations: 1.272 MB / 0.7981 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.7694, allocations: 15.34 kB / 0.7981 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.7694, allocations: 0 / 0.7981 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004014/0.7734, allocations: 1.098 MB / 0.7992 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007502/0.7809, allocations: 2.613 MB / 0.8018 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.781, allocations: 2.656 kB / 0.8018 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.7815, allocations: 114.4 kB / 0.8019 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000477/0.782, allocations: 135.1 kB / 0.802 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.782, allocations: 16.69 kB / 0.802 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004622/0.7867, allocations: 2.629 MB / 0.8046 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.7867, allocations: 6.688 kB / 0.8046 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005498/0.7922, allocations: 1.7 MB / 0.8063 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009311/0.7932, allocations: 305.4 kB / 0.8065 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004869/0.7937, allocations: 17.64 kB / 0.8066 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.7948, allocations: 57.59 kB / 0.8066 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.7949, allocations: 62.83 kB / 0.8067 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.988e-05/0.795, allocations: 37.69 kB / 0.8067 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001366/0.7964, allocations: 0.8821 MB / 0.8076 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7964, allocations: 0 / 0.8076 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002697/0.7991, allocations: 0.7194 MB / 0.8083 GB, free: 3.703 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.001467/0.8006, allocations: 460.7 kB / 0.8087 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002635/0.8032, allocations: 1.122 MB / 0.8098 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.8033, allocations: 0 / 0.8098 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.8047, allocations: 0.5643 MB / 0.8104 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004196/0.809, allocations: 0.7939 MB / 0.8111 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/0.814, allocations: 2.279 MB / 0.8134 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.8151, allocations: 1.179 MB / 0.8145 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001383/0.8165, allocations: 307 kB / 0.8148 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.8168, allocations: 107.4 kB / 0.8149 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/0.8168, allocations: 0 / 0.8149 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of Templates: time 0.05688/0.8737, allocations: 32.43 MB / 0.8466 GB, free: 12.8 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)