Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001176/0.001177, allocations: 187 kB / 17.34 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7553/0.7553, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 72.08 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1614, allocations: 80.91 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07802/0.2394, allocations: 75.22 MB / 0.7388 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3998/0.6393, allocations: 15.12 MB / 0.7535 GB, free: 25.97 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00323/0.6425, allocations: 65.72 kB / 0.7536 GB, free: 25.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00378/0.6463, allocations: 0.8333 MB / 0.7544 GB, free: 25.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009402/0.6558, allocations: 2.586 MB / 0.7569 GB, free: 25.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.6597, allocations: 1.387 MB / 0.7583 GB, free: 25.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006735/0.6665, allocations: 4.391 MB / 0.7626 GB, free: 25.86 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002646/0.6691, allocations: 1.456 MB / 0.764 GB, free: 25.69 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00414/0.6733, allocations: 1.673 MB / 0.7656 GB, free: 25.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.6754, allocations: 1.223 MB / 0.7668 GB, free: 25.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002948/0.6757, allocations: 162.5 kB / 0.767 GB, free: 25.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003342/0.6791, allocations: 1.422 MB / 0.7684 GB, free: 25.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004257/0.6795, allocations: 402.9 kB / 0.7688 GB, free: 25.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.6806, allocations: 0.9041 MB / 0.7696 GB, free: 25.06 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003973/0.6846, allocations: 2.896 MB / 0.7725 GB, free: 24.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6846, allocations: 1.406 kB / 0.7725 GB, free: 24.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6846, allocations: 0 / 0.7725 GB, free: 24.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.794e-05/0.6846, allocations: 4 kB / 0.7725 GB, free: 24.7 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.003356/0.688, allocations: 2.104 MB / 0.7745 GB, free: 23.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.688, allocations: 10.64 kB / 0.7745 GB, free: 23.63 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007497/0.6888, allocations: 222.9 kB / 0.7748 GB, free: 23.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/0.691, allocations: 1.529 MB / 0.7763 GB, free: 23.13 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/0.6911, allocations: 81.66 kB / 0.7763 GB, free: 23.13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.6912, allocations: 102.4 kB / 0.7764 GB, free: 23.13 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.693, allocations: 1.1 MB / 0.7775 GB, free: 22.99 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.6931, allocations: 3.094 kB / 0.7775 GB, free: 22.99 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.343e-05/0.6932, allocations: 39.97 kB / 0.7775 GB, free: 22.99 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/0.6932, allocations: 30.11 kB / 0.7776 GB, free: 22.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.6949, allocations: 0.8895 MB / 0.7784 GB, free: 22.98 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.00477/0.6997, allocations: 4.923 MB / 0.7832 GB, free: 20.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.7009, allocations: 0.6178 MB / 0.7839 GB, free: 19.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000643/0.7016, allocations: 352.8 kB / 0.7842 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000436/0.702, allocations: 0.8366 MB / 0.785 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.7021, allocations: 38.34 kB / 0.785 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.044e-06/0.7021, allocations: 1.375 kB / 0.785 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.004441/0.7065, allocations: 1.405 MB / 0.7864 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.7066, allocations: 60.06 kB / 0.7865 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.7079, allocations: 1.232 MB / 0.7877 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.528e-05/0.708, allocations: 43.14 kB / 0.7877 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.7084, allocations: 0.6009 MB / 0.7883 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.7086, allocations: 216.5 kB / 0.7885 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.7088, allocations: 155.4 kB / 0.7887 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.815e-05/0.7088, allocations: 338.2 kB / 0.789 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005843/0.7094, allocations: 288.4 kB / 0.7893 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007165/0.7102, allocations: 0.489 MB / 0.7897 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.7114, allocations: 0.7087 MB / 0.7904 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7114, allocations: 5 kB / 0.7904 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004104/0.7155, allocations: 1.267 MB / 0.7917 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.7156, allocations: 9 kB / 0.7917 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.7156, allocations: 2.812 kB / 0.7917 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/0.7162, allocations: 156.9 kB / 0.7918 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.7167, allocations: 158.6 kB / 0.792 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006531/0.7174, allocations: 0.7124 MB / 0.7927 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.7184, allocations: 113 kB / 0.7928 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/0.7185, allocations: 43.14 kB / 0.7928 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009139/0.7194, allocations: 0.5496 MB / 0.7934 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006348/0.7201, allocations: 0.4901 MB / 0.7938 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001122/0.7212, allocations: 0.7001 MB / 0.7945 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.7212, allocations: 0 / 0.7945 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.003935/0.7251, allocations: 1.264 MB / 0.7958 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.7252, allocations: 8.625 kB / 0.7958 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7252, allocations: 6.25 kB / 0.7958 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004883/0.7257, allocations: 155.7 kB / 0.7959 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.7262, allocations: 157.8 kB / 0.7961 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000627/0.7268, allocations: 0.7171 MB / 0.7968 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009859/0.7278, allocations: 102.8 kB / 0.7969 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.7279, allocations: 35.08 kB / 0.7969 GB, free: 11.73 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.7281, allocations: 224 kB / 0.7971 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.7283, allocations: 132.5 kB / 0.7972 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/0.7323, allocations: 1.259 MB / 0.7985 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.7324, allocations: 7.375 kB / 0.7985 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.7324, allocations: 0 / 0.7985 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003464/0.7358, allocations: 1.089 MB / 0.7995 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/0.7396, allocations: 2.316 MB / 0.8018 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.7396, allocations: 6.594 kB / 0.8018 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/0.7401, allocations: 109.8 kB / 0.8019 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005159/0.7406, allocations: 149.2 kB / 0.8021 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/0.7406, allocations: 21.5 kB / 0.8021 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006443/0.7413, allocations: 0.7091 MB / 0.8028 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.7413, allocations: 6.094 kB / 0.8028 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.7437, allocations: 1.396 MB / 0.8041 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005156/0.7442, allocations: 321.1 kB / 0.8044 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.7445, allocations: 19.81 kB / 0.8045 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008313/0.7453, allocations: 48.34 kB / 0.8045 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.7454, allocations: 60 kB / 0.8046 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/0.7455, allocations: 31.91 kB / 0.8046 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001087/0.7466, allocations: 0.8892 MB / 0.8055 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7466, allocations: 0 / 0.8055 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00193/0.7485, allocations: 0.7113 MB / 0.8062 GB, free: 5.879 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009252/0.7494, allocations: 461 kB / 0.8066 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.7518, allocations: 1.119 MB / 0.8077 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.7518, allocations: 0 / 0.8077 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007799/0.7526, allocations: 406.5 kB / 0.8081 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/0.7559, allocations: 0.8071 MB / 0.8089 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.7591, allocations: 2.314 MB / 0.8111 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.7596, allocations: 1.164 MB / 0.8123 GB, free: 352 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.7599, allocations: 115.4 kB / 0.8124 GB, free: 236 kB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/0.7599, allocations: 4 kB / 0.8124 GB, free: 232 kB / 0.5762 GB Notification: Performance of Templates: time 0.04228/0.8022, allocations: 31.55 MB / 0.8432 GB, free: 0.8789 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)