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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001067/0.001067, allocations: 103.5 kB / 16.36 MB, free: 6.285 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.001043/0.001043, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8034/0.8034, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 67.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4117, allocations: 80.18 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.1033/0.515, allocations: 61.19 MB / 0.6412 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02824/0.5433, allocations: 11.98 MB / 0.6529 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0029/0.5462, allocations: 59.69 kB / 0.653 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003562/0.5498, allocations: 0.683 MB / 0.6537 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007575/0.5575, allocations: 1.955 MB / 0.6556 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.5611, allocations: 1.209 MB / 0.6568 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004812/0.5659, allocations: 3.083 MB / 0.6598 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.5677, allocations: 1.111 MB / 0.6608 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003203/0.5709, allocations: 1.325 MB / 0.6621 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.5727, allocations: 0.8983 MB / 0.663 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003666/0.5731, allocations: 116 kB / 0.6631 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.5762, allocations: 1.462 MB / 0.6646 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004601/0.5767, allocations: 282.9 kB / 0.6648 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.5779, allocations: 0.6997 MB / 0.6655 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003944/0.5819, allocations: 2.314 MB / 0.6678 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5819, allocations: 0 / 0.6678 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5819, allocations: 0 / 0.6678 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.956e-05/0.582, allocations: 0 / 0.6678 GB, free: 5.645 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.003767/0.5857, allocations: 1.728 MB / 0.6695 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.5858, allocations: 16.02 kB / 0.6695 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/0.588, allocations: 402.9 kB / 0.6699 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/0.5905, allocations: 1.167 MB / 0.671 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.325e-05/0.5906, allocations: 58 kB / 0.6711 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.5907, allocations: 84 kB / 0.6711 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.5927, allocations: 1.012 MB / 0.6721 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.5927, allocations: 0 / 0.6721 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.497e-05/0.5928, allocations: 32 kB / 0.6722 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.5928, allocations: 20 kB / 0.6722 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.5949, allocations: 0.8625 MB / 0.673 GB, free: 100 kB / 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.00627/0.6012, allocations: 5.231 MB / 0.6781 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.6043, allocations: 0.791 MB / 0.6789 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00066/0.605, allocations: 296.7 kB / 0.6792 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006016/0.6056, allocations: 0.8986 MB / 0.6801 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.6056, allocations: 50.39 kB / 0.6801 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.224e-06/0.6057, allocations: 0 / 0.6801 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.007765/0.6134, allocations: 1.86 MB / 0.6819 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.6135, allocations: 59.41 kB / 0.682 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/0.615, allocations: 1.072 MB / 0.683 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.557e-05/0.6151, allocations: 41.69 kB / 0.6831 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.6155, allocations: 0.5273 MB / 0.6836 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.6156, allocations: 153.8 kB / 0.6837 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.6159, allocations: 146.1 kB / 0.6839 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.616, allocations: 329.9 kB / 0.6842 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000817/0.6168, allocations: 311.2 kB / 0.6845 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009917/0.6178, allocations: 0.533 MB / 0.685 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.6193, allocations: 0.7104 MB / 0.6857 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6194, allocations: 4 kB / 0.6857 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003368/0.6227, allocations: 1.149 MB / 0.6868 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6228, allocations: 4 kB / 0.6868 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.6228, allocations: 8 kB / 0.6868 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.624, allocations: 316.6 kB / 0.6871 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/0.6246, allocations: 123.9 kB / 0.6872 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.626, allocations: 0.9063 MB / 0.6881 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.6271, allocations: 139.3 kB / 0.6883 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.309e-05/0.6272, allocations: 35.98 kB / 0.6883 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001147/0.6283, allocations: 0.5167 MB / 0.6888 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009775/0.6293, allocations: 0.5174 MB / 0.6893 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001566/0.6309, allocations: 0.7134 MB / 0.69 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.6309, allocations: 0 / 0.69 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003504/0.6344, allocations: 1.133 MB / 0.6911 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.6345, allocations: 8 kB / 0.6911 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6345, allocations: 4 kB / 0.6911 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.6356, allocations: 300.6 kB / 0.6914 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.6361, allocations: 131.8 kB / 0.6915 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.6375, allocations: 0.9034 MB / 0.6924 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.6389, allocations: 127.6 kB / 0.6925 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.639, allocations: 35.98 kB / 0.6926 GB, free: 10.97 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003197/0.6393, allocations: 225.2 kB / 0.6928 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003279/0.6396, allocations: 110.7 kB / 0.6929 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00361/0.6432, allocations: 1.095 MB / 0.694 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.6433, allocations: 7.984 kB / 0.694 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.6433, allocations: 0 / 0.694 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6433, allocations: 4 kB / 0.694 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004943/0.6482, allocations: 2.179 MB / 0.6961 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.6483, allocations: 288 / 0.6961 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.6486, allocations: 75.81 kB / 0.6962 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.6497, allocations: 300.5 kB / 0.6965 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.666e-05/0.6498, allocations: 12 kB / 0.6965 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.6514, allocations: 0.9293 MB / 0.6974 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.6514, allocations: 0 / 0.6974 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004093/0.6555, allocations: 1.177 MB / 0.6985 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008716/0.6564, allocations: 263.6 kB / 0.6988 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003922/0.6568, allocations: 15.98 kB / 0.6988 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.658, allocations: 63.92 kB / 0.6989 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.6581, allocations: 43.83 kB / 0.6989 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.462e-05/0.6582, allocations: 23.98 kB / 0.6989 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001619/0.6598, allocations: 0.7551 MB / 0.6997 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6598, allocations: 0 / 0.6997 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002015/0.6618, allocations: 0.5731 MB / 0.7002 GB, free: 2.926 MB / 0.5294 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 (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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000923/0.6628, allocations: 387.5 kB / 0.7006 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003108/0.6659, allocations: 1.133 MB / 0.7017 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.6659, allocations: 4 kB / 0.7017 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008438/0.6668, allocations: 354.3 kB / 0.702 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.669, allocations: 0.5077 MB / 0.7025 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005107/0.6741, allocations: 2.006 MB / 0.7045 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/0.6748, allocations: 1.065 MB / 0.7055 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009249/0.6758, allocations: 231.8 kB / 0.7058 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.676, allocations: 79.42 kB / 0.7058 GB, free: 13.13 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/0.676, allocations: 0 / 0.7058 GB, free: 13.13 MB / 0.545 GB Notification: Performance of Templates: time 0.04108/0.7171, allocations: 25.1 MB / 0.7303 GB, free: 4.316 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)