Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009401/0.0009401, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.829/0.829, allocations: 135.2 MB / 426.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.0002631, allocations: 9.844 kB / 0.5068 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 82.31 MB / 0.5872 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.2892/0.4308, allocations: 62.97 MB / 0.6487 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01316/0.444, allocations: 12.97 MB / 0.6614 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.4462, allocations: 54.09 kB / 0.6614 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00251/0.4488, allocations: 0.7402 MB / 0.6621 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00758/0.4564, allocations: 2.405 MB / 0.6645 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004451/0.4608, allocations: 1.529 MB / 0.666 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004601/0.4654, allocations: 2.511 MB / 0.6684 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.467, allocations: 1.05 MB / 0.6694 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.4694, allocations: 1.171 MB / 0.6706 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.4707, allocations: 0.7902 MB / 0.6714 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.4709, allocations: 55.56 kB / 0.6714 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.4733, allocations: 0.8274 MB / 0.6722 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003388/0.4737, allocations: 260.5 kB / 0.6725 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005394/0.4742, allocations: 356.8 kB / 0.6728 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004373/0.4786, allocations: 2.017 MB / 0.6748 GB, free: 352 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4786, allocations: 0 / 0.6748 GB, free: 352 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4786, allocations: 0 / 0.6748 GB, free: 352 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.495e-05/0.4787, allocations: 5.062 kB / 0.6748 GB, free: 348 kB / 0.4981 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.003925/0.4826, allocations: 1.781 MB / 0.6765 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.4827, allocations: 13.42 kB / 0.6765 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008479/0.4835, allocations: 236.5 kB / 0.6768 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/0.4861, allocations: 1.379 MB / 0.6781 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.699e-05/0.4862, allocations: 76.41 kB / 0.6782 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.4864, allocations: 104.9 kB / 0.6783 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.4886, allocations: 1.106 MB / 0.6794 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.4886, allocations: 1.094 kB / 0.6794 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.991e-05/0.4887, allocations: 36.91 kB / 0.6794 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.4888, allocations: 25.48 kB / 0.6794 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.4907, allocations: 0.9311 MB / 0.6803 GB, free: 13.34 MB / 0.5137 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.006527/0.4973, allocations: 4.95 MB / 0.6852 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.4987, allocations: 0.6341 MB / 0.6858 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006112/0.4993, allocations: 0.8298 MB / 0.6866 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.4994, allocations: 46.91 kB / 0.6866 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.485e-06/0.4994, allocations: 0 / 0.6866 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007112/0.5065, allocations: 1.883 MB / 0.6885 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.5066, allocations: 56.91 kB / 0.6885 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.5085, allocations: 1.247 MB / 0.6898 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/0.5087, allocations: 43.31 kB / 0.6898 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006426/0.5094, allocations: 0.606 MB / 0.6904 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.5096, allocations: 213.2 kB / 0.6906 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.5097, allocations: 15.09 kB / 0.6906 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.5099, allocations: 337.3 kB / 0.6909 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007272/0.5106, allocations: 298.5 kB / 0.6912 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009436/0.5115, allocations: 0.4981 MB / 0.6917 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007572/0.5123, allocations: 367.6 kB / 0.692 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.5123, allocations: 0 / 0.692 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004826/0.5172, allocations: 1.397 MB / 0.6934 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005401/0.5177, allocations: 1.418 MB / 0.6948 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.5177, allocations: 6.922 kB / 0.6948 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005894/0.5183, allocations: 150.2 kB / 0.6949 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/0.519, allocations: 172.6 kB / 0.6951 GB, free: 4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009071/0.5199, allocations: 0.7144 MB / 0.6958 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.5216, allocations: 171 kB / 0.696 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-05/0.5218, allocations: 35.06 kB / 0.696 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.5218, allocations: 5.656 kB / 0.696 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004513/0.5263, allocations: 1.246 MB / 0.6972 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.5263, allocations: 2.5 kB / 0.6972 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004908/0.5268, allocations: 149.8 kB / 0.6974 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.5274, allocations: 169.4 kB / 0.6975 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007574/0.5282, allocations: 0.7166 MB / 0.6982 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.5297, allocations: 164.7 kB / 0.6984 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.5298, allocations: 34.36 kB / 0.6984 GB, free: 2.289 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008275/0.5306, allocations: 419 kB / 0.6988 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.5309, allocations: 136 kB / 0.699 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004513/0.5354, allocations: 1.4 MB / 0.7003 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.5354, allocations: 6.75 kB / 0.7003 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.5354, allocations: 1.469 kB / 0.7003 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00395/0.5394, allocations: 1.228 MB / 0.7015 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006961/0.5464, allocations: 2.765 MB / 0.7042 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.5464, allocations: 3.906 kB / 0.7042 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.5469, allocations: 120.9 kB / 0.7043 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004735/0.5474, allocations: 137.8 kB / 0.7045 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.5474, allocations: 24.28 kB / 0.7045 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004762/0.5522, allocations: 2.546 MB / 0.707 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.5522, allocations: 10.69 kB / 0.707 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005517/0.5578, allocations: 2.058 MB / 0.709 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009834/0.5588, allocations: 345.1 kB / 0.7093 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.559, allocations: 18.84 kB / 0.7094 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008826/0.5599, allocations: 90.94 kB / 0.7094 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.56, allocations: 64.5 kB / 0.7095 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.523e-05/0.5601, allocations: 29.89 kB / 0.7095 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001334/0.5615, allocations: 0.896 MB / 0.7104 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5615, allocations: 0 / 0.7104 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001972/0.5635, allocations: 0.7269 MB / 0.7111 GB, free: 10.71 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008582/0.5643, allocations: 457.6 kB / 0.7116 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00243/0.5668, allocations: 1.158 MB / 0.7127 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.5668, allocations: 0 / 0.7127 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.5682, allocations: 0.6046 MB / 0.7133 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/0.5717, allocations: 0.7507 MB / 0.714 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.5757, allocations: 2.757 MB / 0.7167 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007165/0.5764, allocations: 1.202 MB / 0.7179 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001352/0.5778, allocations: 308.7 kB / 0.7182 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.578, allocations: 107.4 kB / 0.7183 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of SimCode: time 8.41e-07/0.578, allocations: 0 / 0.7183 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of Templates: time 0.04376/0.6218, allocations: 30.07 MB / 0.7476 GB, free: 7.102 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) Environment - environmentSimulation: