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.000885/0.000885, allocations: 99.78 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.000832/0.0008321, allocations: 177.3 kB / 15.95 MB, free: 216 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.188/1.188, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8529/0.8529, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.000285, allocations: 12 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1341, allocations: 82.31 MB / 0.5872 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.2727/0.4069, allocations: 62.97 MB / 0.6487 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.419, allocations: 12.98 MB / 0.6614 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.4203, allocations: 52.34 kB / 0.6614 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.4219, allocations: 0.7443 MB / 0.6621 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004694/0.4266, allocations: 2.407 MB / 0.6645 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.43, allocations: 1.52 MB / 0.666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003389/0.4334, allocations: 2.507 MB / 0.6684 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.4346, allocations: 1.051 MB / 0.6695 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.4366, allocations: 1.171 MB / 0.6706 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.4377, allocations: 0.7935 MB / 0.6714 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.4379, allocations: 55.72 kB / 0.6714 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.4401, allocations: 0.8428 MB / 0.6722 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.4403, allocations: 269.4 kB / 0.6725 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.4407, allocations: 356.3 kB / 0.6728 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002537/0.4432, allocations: 2.036 MB / 0.6748 GB, free: 32 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.4432, allocations: 0 / 0.6748 GB, free: 32 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.915e-06/0.4432, allocations: 0.6094 kB / 0.6748 GB, free: 32 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.11e-05/0.4433, allocations: 0 / 0.6748 GB, free: 32 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.003306/0.4466, allocations: 1.792 MB / 0.6766 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4466, allocations: 8.906 kB / 0.6766 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007539/0.4474, allocations: 242 kB / 0.6768 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.4497, allocations: 1.382 MB / 0.6782 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-05/0.4498, allocations: 76.47 kB / 0.6782 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.45, allocations: 101.8 kB / 0.6783 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.4519, allocations: 1.11 MB / 0.6794 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.452, allocations: 9.797 kB / 0.6794 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.865e-05/0.4521, allocations: 37.41 kB / 0.6795 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.4521, allocations: 33.5 kB / 0.6795 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.4539, allocations: 0.925 MB / 0.6804 GB, free: 13.03 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.005962/0.4599, allocations: 4.958 MB / 0.6852 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.4613, allocations: 0.6525 MB / 0.6859 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006151/0.462, allocations: 0.8244 MB / 0.6867 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.462, allocations: 46.42 kB / 0.6867 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.034e-06/0.462, allocations: 4 kB / 0.6867 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.004613/0.4666, allocations: 1.505 MB / 0.6882 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.4667, allocations: 63.25 kB / 0.6883 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.4683, allocations: 1.255 MB / 0.6895 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/0.4684, allocations: 39.02 kB / 0.6895 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004656/0.4689, allocations: 0.6088 MB / 0.6901 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.4691, allocations: 218.7 kB / 0.6903 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.4691, allocations: 14.41 kB / 0.6903 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.4692, allocations: 333.6 kB / 0.6907 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000642/0.4698, allocations: 296.1 kB / 0.6909 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007635/0.4706, allocations: 0.4932 MB / 0.6914 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007026/0.4713, allocations: 363.7 kB / 0.6918 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.4713, allocations: 1.312 kB / 0.6918 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004543/0.4759, allocations: 1.385 MB / 0.6931 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005322/0.4764, allocations: 1.338 MB / 0.6944 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4765, allocations: 7.219 kB / 0.6944 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006623/0.4771, allocations: 165.1 kB / 0.6946 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.4777, allocations: 168.5 kB / 0.6948 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007978/0.4786, allocations: 0.7294 MB / 0.6955 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.4798, allocations: 165.4 kB / 0.6956 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.4799, allocations: 33 kB / 0.6957 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.4799, allocations: 2.594 kB / 0.6957 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00411/0.484, allocations: 1.244 MB / 0.6969 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.484, allocations: 3.312 kB / 0.6969 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/0.4847, allocations: 170.1 kB / 0.697 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.4853, allocations: 162.1 kB / 0.6972 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00086/0.4861, allocations: 0.7313 MB / 0.6979 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.4874, allocations: 164.7 kB / 0.6981 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.62e-05/0.4875, allocations: 40.92 kB / 0.6981 GB, free: 2.082 MB / 0.5137 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 (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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007558/0.4882, allocations: 424.4 kB / 0.6985 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.4884, allocations: 132.3 kB / 0.6986 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/0.4927, allocations: 1.39 MB / 0.7 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.4927, allocations: 6.531 kB / 0.7 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4927, allocations: 1.156 kB / 0.7 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003869/0.4966, allocations: 1.217 MB / 0.7012 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004255/0.5009, allocations: 2.373 MB / 0.7035 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.5009, allocations: 2.75 kB / 0.7035 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.5014, allocations: 120.7 kB / 0.7036 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005502/0.5019, allocations: 155.7 kB / 0.7038 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.502, allocations: 20.8 kB / 0.7038 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007519/0.5027, allocations: 0.7192 MB / 0.7045 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.5028, allocations: 4.375 kB / 0.7045 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/0.5056, allocations: 1.675 MB / 0.7061 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007668/0.5064, allocations: 351.4 kB / 0.7065 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/0.5067, allocations: 14.97 kB / 0.7065 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009608/0.5076, allocations: 100 kB / 0.7066 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.5077, allocations: 52.58 kB / 0.7066 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/0.5078, allocations: 32.27 kB / 0.7067 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00125/0.5091, allocations: 0.9054 MB / 0.7076 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5091, allocations: 1.562 kB / 0.7076 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002085/0.5112, allocations: 0.7102 MB / 0.7082 GB, free: 12.39 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009359/0.5121, allocations: 460.3 kB / 0.7087 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002448/0.5146, allocations: 1.16 MB / 0.7098 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5146, allocations: 128 / 0.7098 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008249/0.5154, allocations: 417.5 kB / 0.7102 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/0.5186, allocations: 0.7459 MB / 0.7109 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.5222, allocations: 2.779 MB / 0.7137 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/0.5229, allocations: 1.196 MB / 0.7148 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001108/0.524, allocations: 316.4 kB / 0.7151 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.5242, allocations: 107.4 kB / 0.7152 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.5242, allocations: 0 / 0.7152 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of Templates: time 0.04235/0.5666, allocations: 29.93 MB / 0.7445 GB, free: 10.3 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: