Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_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_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008905/0.0008906, allocations: 99.86 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.000923/0.0009231, 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.213/1.213, 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.8304/0.8304, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002996, allocations: 8 kB / 0.5068 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1392, allocations: 82.31 MB / 0.5872 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.2714/0.4106, allocations: 51.3 MB / 0.6373 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.4213, allocations: 10.31 MB / 0.6474 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.4228, allocations: 50.31 kB / 0.6474 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.4243, allocations: 0.6226 MB / 0.648 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.4286, allocations: 1.945 MB / 0.6499 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002937/0.4315, allocations: 1.307 MB / 0.6512 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002352/0.4339, allocations: 1.844 MB / 0.653 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008803/0.4348, allocations: 0.813 MB / 0.6538 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.4362, allocations: 0.9773 MB / 0.6547 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006212/0.4368, allocations: 0.6024 MB / 0.6553 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.697e-05/0.4369, allocations: 44.25 kB / 0.6554 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.4386, allocations: 1.007 MB / 0.6564 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.4388, allocations: 191.7 kB / 0.6565 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.439, allocations: 287.5 kB / 0.6568 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.4403, allocations: 1.587 MB / 0.6584 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.4404, allocations: 1.719 kB / 0.6584 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4404, allocations: 0 / 0.6584 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.025e-05/0.4404, allocations: 0 / 0.6584 GB, free: 11.57 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002215/0.4426, allocations: 1.477 MB / 0.6598 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.4427, allocations: 12.59 kB / 0.6598 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.4447, allocations: 474.4 kB / 0.6603 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.4462, allocations: 1.045 MB / 0.6613 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.4466, allocations: 135.3 kB / 0.6614 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.4467, allocations: 80 kB / 0.6615 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.4485, allocations: 1.002 MB / 0.6625 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.4486, allocations: 1.281 kB / 0.6625 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/0.4486, allocations: 31.75 kB / 0.6625 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.4487, allocations: 26.58 kB / 0.6625 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/0.4508, allocations: 0.9123 MB / 0.6634 GB, free: 8.965 MB / 0.4981 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.00586/0.4567, allocations: 4.925 MB / 0.6682 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003377/0.4601, allocations: 0.9024 MB / 0.6691 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004167/0.4605, allocations: 0.9068 MB / 0.67 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.4605, allocations: 37.3 kB / 0.67 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.244e-06/0.4606, allocations: 4 kB / 0.67 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.008261/0.4688, allocations: 2.15 MB / 0.6721 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.4689, allocations: 64.47 kB / 0.6722 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.4704, allocations: 1.061 MB / 0.6732 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.891e-05/0.4704, allocations: 41.05 kB / 0.6733 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.4708, allocations: 0.5191 MB / 0.6738 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.4709, allocations: 153.5 kB / 0.6739 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.4709, allocations: 10.31 kB / 0.6739 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.471, allocations: 325.2 kB / 0.6742 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008707/0.4719, allocations: 321.6 kB / 0.6746 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.4729, allocations: 0.5227 MB / 0.6751 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008958/0.4738, allocations: 362.9 kB / 0.6754 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4738, allocations: 1.406 kB / 0.6754 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002491/0.4763, allocations: 1.036 MB / 0.6764 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004024/0.4767, allocations: 1.588 MB / 0.678 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.4767, allocations: 3.875 kB / 0.678 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.478, allocations: 327.1 kB / 0.6783 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.4786, allocations: 127.7 kB / 0.6784 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.48, allocations: 0.9494 MB / 0.6793 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.4813, allocations: 190.1 kB / 0.6795 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/0.4814, allocations: 33.08 kB / 0.6796 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.4814, allocations: 3.688 kB / 0.6796 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002345/0.4837, allocations: 0.9163 MB / 0.6804 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4838, allocations: 13.36 kB / 0.6805 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.4848, allocations: 335.4 kB / 0.6808 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.4853, allocations: 122.8 kB / 0.6809 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.4867, allocations: 0.94 MB / 0.6818 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.4877, allocations: 169.7 kB / 0.682 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.854e-05/0.4878, allocations: 29 kB / 0.682 GB, free: 13.52 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.000519/0.4883, allocations: 357.1 kB / 0.6823 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.4885, allocations: 116.5 kB / 0.6825 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/0.4921, allocations: 1.201 MB / 0.6836 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4922, allocations: 11.06 kB / 0.6836 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4922, allocations: 0 / 0.6836 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4922, allocations: 3.812 kB / 0.6836 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005023/0.4972, allocations: 2.303 MB / 0.6859 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.4972, allocations: 3.203 kB / 0.6859 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.4975, allocations: 71.3 kB / 0.686 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009855/0.4985, allocations: 327.5 kB / 0.6863 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.4986, allocations: 13.45 kB / 0.6863 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.4999, allocations: 0.9688 MB / 0.6872 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.4999, allocations: 6.969 kB / 0.6872 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/0.5035, allocations: 1.399 MB / 0.6886 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/0.5039, allocations: 285.4 kB / 0.6889 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.5041, allocations: 9.578 kB / 0.6889 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008615/0.5049, allocations: 119.8 kB / 0.689 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.505, allocations: 44.06 kB / 0.689 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/0.5051, allocations: 24.16 kB / 0.6891 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001066/0.5062, allocations: 0.7485 MB / 0.6898 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5062, allocations: 1.469 kB / 0.6898 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001534/0.5077, allocations: 0.5714 MB / 0.6904 GB, free: 9.582 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006588/0.5084, allocations: 377 kB / 0.6907 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002906/0.5113, allocations: 1.167 MB / 0.6919 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5113, allocations: 0 / 0.6919 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008647/0.5122, allocations: 377.2 kB / 0.6922 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.5143, allocations: 0.495 MB / 0.6927 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.5195, allocations: 2.491 MB / 0.6951 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.5201, allocations: 1.082 MB / 0.6962 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008264/0.521, allocations: 224.9 kB / 0.6964 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.5212, allocations: 84.25 kB / 0.6965 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.5212, allocations: 0 / 0.6965 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of Templates: time 0.03227/0.5535, allocations: 23.48 MB / 0.7194 GB, free: 4.203 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: