Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.001539/0.001539, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00159/0.00159, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9852/0.9852, allocations: 135.6 MB / 425.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 71.58 kB / 0.5054 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1717, allocations: 81.03 MB / 0.5845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.2748/0.4466, allocations: 60.68 MB / 0.6438 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.4584, allocations: 11.89 MB / 0.6554 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.4604, allocations: 57.12 kB / 0.6554 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.4622, allocations: 0.5855 MB / 0.656 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004756/0.4669, allocations: 1.827 MB / 0.6578 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002801/0.4697, allocations: 1.094 MB / 0.6588 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003881/0.4736, allocations: 3.098 MB / 0.6619 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/0.4756, allocations: 1.107 MB / 0.663 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003337/0.4789, allocations: 1.341 MB / 0.6643 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.4807, allocations: 0.9231 MB / 0.6652 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003403/0.481, allocations: 115 kB / 0.6653 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.484, allocations: 1.473 MB / 0.6667 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.4844, allocations: 301.1 kB / 0.667 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.4855, allocations: 0.6913 MB / 0.6677 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003834/0.4893, allocations: 2.301 MB / 0.6699 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.4894, allocations: 2.203 kB / 0.6699 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4894, allocations: 0 / 0.6699 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.685e-05/0.4894, allocations: 3.938 kB / 0.6699 GB, free: 1.117 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.003227/0.4926, allocations: 1.734 MB / 0.6716 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.4927, allocations: 9.156 kB / 0.6716 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/0.495, allocations: 406.3 kB / 0.672 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.4973, allocations: 1.128 MB / 0.6731 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/0.4977, allocations: 120.2 kB / 0.6732 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.4979, allocations: 78.62 kB / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.5, allocations: 0.9858 MB / 0.6743 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.5001, allocations: 0 / 0.6743 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.177e-05/0.5002, allocations: 31.84 kB / 0.6743 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.5002, allocations: 18.94 kB / 0.6743 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.5024, allocations: 0.8653 MB / 0.6752 GB, free: 14.31 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.006905/0.5094, allocations: 4.843 MB / 0.6799 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003303/0.5127, allocations: 0.801 MB / 0.6807 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007151/0.5134, allocations: 302.3 kB / 0.681 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000791/0.5142, allocations: 0.9052 MB / 0.6818 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.5143, allocations: 46.47 kB / 0.6819 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.124e-06/0.5143, allocations: 0 / 0.6819 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.008483/0.5227, allocations: 1.927 MB / 0.6838 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.5228, allocations: 56.69 kB / 0.6838 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.5245, allocations: 1.052 MB / 0.6849 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.432e-05/0.5246, allocations: 34.3 kB / 0.6849 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/0.5251, allocations: 0.5218 MB / 0.6854 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.5253, allocations: 162.1 kB / 0.6856 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.5255, allocations: 132.7 kB / 0.6857 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5257, allocations: 327.6 kB / 0.686 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008927/0.5266, allocations: 303.2 kB / 0.6863 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.5277, allocations: 0.5055 MB / 0.6868 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.5294, allocations: 0.68 MB / 0.6874 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.5294, allocations: 1.25 kB / 0.6874 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00269/0.5321, allocations: 0.9819 MB / 0.6884 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.5321, allocations: 6.953 kB / 0.6884 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5321, allocations: 4.031 kB / 0.6884 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.5334, allocations: 327.4 kB / 0.6887 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.5339, allocations: 118.8 kB / 0.6888 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.5354, allocations: 0.9143 MB / 0.6897 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.5369, allocations: 175.5 kB / 0.6899 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/0.537, allocations: 29.3 kB / 0.6899 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001268/0.5382, allocations: 0.5056 MB / 0.6904 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001079/0.5393, allocations: 0.503 MB / 0.6909 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001602/0.5409, allocations: 0.6744 MB / 0.6916 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.5409, allocations: 1.375 kB / 0.6916 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002834/0.5438, allocations: 0.9737 MB / 0.6925 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.5438, allocations: 12.02 kB / 0.6925 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5438, allocations: 8.562 kB / 0.6925 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.545, allocations: 307 kB / 0.6928 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.5455, allocations: 119.1 kB / 0.6929 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.547, allocations: 0.9124 MB / 0.6938 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.5484, allocations: 156.9 kB / 0.694 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/0.5485, allocations: 27.61 kB / 0.694 GB, free: 3.23 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 (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.0002989/0.5488, allocations: 226 kB / 0.6942 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.549, allocations: 111.4 kB / 0.6943 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003725/0.5527, allocations: 1.111 MB / 0.6954 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.5528, allocations: 9.281 kB / 0.6954 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.5528, allocations: 5.344 kB / 0.6954 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.5528, allocations: 6.844 kB / 0.6954 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005303/0.5581, allocations: 2.182 MB / 0.6976 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.5581, allocations: 2.344 kB / 0.6976 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.5584, allocations: 69.2 kB / 0.6976 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.5594, allocations: 308.8 kB / 0.6979 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.5595, allocations: 10.41 kB / 0.6979 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.561, allocations: 0.9434 MB / 0.6989 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.561, allocations: 8.062 kB / 0.6989 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003623/0.5647, allocations: 1.191 MB / 0.7 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006238/0.5653, allocations: 269.2 kB / 0.7003 GB, free: 64 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.5655, allocations: 12 kB / 0.7003 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009144/0.5664, allocations: 93.78 kB / 0.7004 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.5665, allocations: 40.36 kB / 0.7004 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.276e-05/0.5666, allocations: 22.64 kB / 0.7005 GB, free: 28 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001371/0.568, allocations: 0.7383 MB / 0.7012 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.568, allocations: 0 / 0.7012 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001981/0.57, allocations: 0.5629 MB / 0.7017 GB, free: 15.57 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.0009409/0.5709, allocations: 385.5 kB / 0.7021 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003308/0.5742, allocations: 1.134 MB / 0.7032 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.5743, allocations: 0 / 0.7032 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009266/0.5752, allocations: 351.2 kB / 0.7035 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.5778, allocations: 0.5073 MB / 0.704 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005627/0.5835, allocations: 2.433 MB / 0.7064 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000734/0.5842, allocations: 1.063 MB / 0.7074 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009472/0.5852, allocations: 227.8 kB / 0.7077 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.5853, allocations: 77.77 kB / 0.7077 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.5854, allocations: 0 / 0.7077 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of Templates: time 0.04164/0.627, allocations: 24.72 MB / 0.7319 GB, free: 4.738 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)