Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.0008445/0.0008445, allocations: 98.92 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.0008779/0.0008779, allocations: 177.3 kB / 15.94 MB, free: 228 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.199/1.199, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8604/0.8604, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002731/0.0002731, allocations: 16 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 82.3 MB / 0.5872 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.2715/0.4098, allocations: 62.98 MB / 0.6487 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01332/0.4231, allocations: 12.98 MB / 0.6614 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.4249, allocations: 51.97 kB / 0.6614 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.4266, allocations: 0.7423 MB / 0.6621 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004991/0.4316, allocations: 2.398 MB / 0.6645 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003425/0.4351, allocations: 1.52 MB / 0.666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003191/0.4383, allocations: 2.51 MB / 0.6684 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.4398, allocations: 1.059 MB / 0.6694 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002367/0.4422, allocations: 1.167 MB / 0.6706 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.4435, allocations: 0.7936 MB / 0.6714 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.4437, allocations: 59.31 kB / 0.6714 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.4458, allocations: 0.8507 MB / 0.6723 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.4461, allocations: 261.1 kB / 0.6725 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.4464, allocations: 356.4 kB / 0.6728 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.4487, allocations: 2.037 MB / 0.6748 GB, free: 24 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.4487, allocations: 0 / 0.6748 GB, free: 24 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4487, allocations: 1.312 kB / 0.6748 GB, free: 24 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.276e-05/0.4487, allocations: 0 / 0.6748 GB, free: 24 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.003396/0.4521, allocations: 1.791 MB / 0.6766 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.4522, allocations: 9.188 kB / 0.6766 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007716/0.4529, allocations: 240.3 kB / 0.6768 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.4553, allocations: 1.379 MB / 0.6782 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.936e-05/0.4554, allocations: 76.59 kB / 0.6782 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.4555, allocations: 104.6 kB / 0.6783 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.4577, allocations: 1.119 MB / 0.6794 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.4578, allocations: 3.906 kB / 0.6794 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-05/0.4579, allocations: 41.97 kB / 0.6795 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/0.4579, allocations: 28.23 kB / 0.6795 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.46, allocations: 0.9223 MB / 0.6804 GB, free: 13.02 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.006642/0.4666, allocations: 4.963 MB / 0.6852 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.4681, allocations: 0.6522 MB / 0.6859 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006092/0.4687, allocations: 0.827 MB / 0.6867 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.4687, allocations: 47.61 kB / 0.6867 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.235e-06/0.4687, allocations: 0 / 0.6867 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.004919/0.4737, allocations: 1.512 MB / 0.6882 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.4737, allocations: 58.56 kB / 0.6883 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/0.4756, allocations: 1.252 MB / 0.6895 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.693e-05/0.4757, allocations: 39.62 kB / 0.6895 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00051/0.4762, allocations: 0.6059 MB / 0.6901 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.4765, allocations: 218.6 kB / 0.6903 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.4765, allocations: 18.72 kB / 0.6903 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4766, allocations: 333.3 kB / 0.6907 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006696/0.4773, allocations: 294.6 kB / 0.6909 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008578/0.4782, allocations: 0.5017 MB / 0.6914 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/0.4789, allocations: 359.5 kB / 0.6918 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4789, allocations: 1.031 kB / 0.6918 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004577/0.4835, allocations: 1.394 MB / 0.6931 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000449/0.484, allocations: 1.339 MB / 0.6945 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.484, allocations: 4.156 kB / 0.6945 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006463/0.4846, allocations: 163.2 kB / 0.6946 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.4852, allocations: 166 kB / 0.6948 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008243/0.4861, allocations: 0.7286 MB / 0.6955 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.4873, allocations: 167.1 kB / 0.6956 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/0.4874, allocations: 35.31 kB / 0.6957 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/0.4874, allocations: 4.406 kB / 0.6957 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004154/0.4915, allocations: 1.243 MB / 0.6969 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.4916, allocations: 3.375 kB / 0.6969 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005321/0.4921, allocations: 162.5 kB / 0.6971 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/0.4927, allocations: 161.8 kB / 0.6972 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007391/0.4934, allocations: 0.725 MB / 0.6979 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.4946, allocations: 165.3 kB / 0.6981 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.4946, allocations: 38.66 kB / 0.6981 GB, free: 2.078 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.0006582/0.4953, allocations: 422.3 kB / 0.6985 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.4955, allocations: 132.5 kB / 0.6986 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004257/0.4998, allocations: 1.391 MB / 0.7 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.4998, allocations: 6.094 kB / 0.7 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.4998, allocations: 5.312 kB / 0.7 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003864/0.5037, allocations: 1.214 MB / 0.7012 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003752/0.5074, allocations: 2.373 MB / 0.7035 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.5075, allocations: 3.375 kB / 0.7035 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.5079, allocations: 125.7 kB / 0.7036 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005473/0.5085, allocations: 159.6 kB / 0.7038 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/0.5085, allocations: 20.61 kB / 0.7038 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007246/0.5093, allocations: 0.7233 MB / 0.7045 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.5093, allocations: 3.406 kB / 0.7045 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.5119, allocations: 1.66 MB / 0.7061 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005957/0.5125, allocations: 351.5 kB / 0.7065 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.5127, allocations: 14.19 kB / 0.7065 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/0.5135, allocations: 97.56 kB / 0.7066 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.5136, allocations: 58.59 kB / 0.7066 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.038e-05/0.5137, allocations: 29.55 kB / 0.7067 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001126/0.5148, allocations: 0.9018 MB / 0.7075 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5148, allocations: 0 / 0.7075 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001798/0.5166, allocations: 0.7156 MB / 0.7082 GB, free: 12.34 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.0008225/0.5174, allocations: 449 kB / 0.7087 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002411/0.5199, allocations: 1.171 MB / 0.7098 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5199, allocations: 1.281 kB / 0.7098 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008213/0.5207, allocations: 414.4 kB / 0.7102 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/0.5237, allocations: 0.7586 MB / 0.7109 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.5272, allocations: 2.77 MB / 0.7137 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006522/0.5279, allocations: 1.202 MB / 0.7148 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001056/0.5289, allocations: 312.4 kB / 0.7151 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.5292, allocations: 107.4 kB / 0.7152 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of SimCode: time 7.32e-07/0.5292, allocations: 0 / 0.7152 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of Templates: time 0.04101/0.5702, allocations: 29.93 MB / 0.7445 GB, free: 10.26 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: