Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001708/0.001708, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8213/0.8213, allocations: 135.1 MB / 426.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 64.12 kB / 0.506 GB, free: 8.383 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4744, allocations: 80.91 MB / 0.585 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05416/0.5286, allocations: 61.23 MB / 0.6448 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01923/0.5479, allocations: 11.99 MB / 0.6565 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002855/0.5508, allocations: 63.62 kB / 0.6566 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.5532, allocations: 0.6791 MB / 0.6572 GB, free: 456 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006538/0.5598, allocations: 1.966 MB / 0.6592 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003722/0.5636, allocations: 1.198 MB / 0.6603 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004869/0.5684, allocations: 3.097 MB / 0.6634 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/0.5704, allocations: 1.112 MB / 0.6644 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003664/0.5741, allocations: 1.337 MB / 0.6657 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.576, allocations: 0.9022 MB / 0.6666 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004573/0.5765, allocations: 116 kB / 0.6667 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003546/0.5801, allocations: 1.443 MB / 0.6681 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005248/0.5806, allocations: 294.8 kB / 0.6684 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.5821, allocations: 0.6958 MB / 0.6691 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004825/0.5869, allocations: 2.29 MB / 0.6713 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.587, allocations: 0 / 0.6713 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.587, allocations: 4 kB / 0.6714 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.463e-05/0.587, allocations: 3.938 kB / 0.6714 GB, free: 1.93 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004453/0.5915, allocations: 1.746 MB / 0.6731 GB, free: 128 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.5916, allocations: 9.109 kB / 0.6731 GB, free: 120 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002508/0.5941, allocations: 414.8 kB / 0.6735 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002692/0.5968, allocations: 1.105 MB / 0.6745 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004149/0.5972, allocations: 121.9 kB / 0.6747 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.5974, allocations: 80 kB / 0.6747 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.6, allocations: 1.029 MB / 0.6757 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.6001, allocations: 0 / 0.6757 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.589e-05/0.6002, allocations: 32 kB / 0.6758 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.6002, allocations: 20 kB / 0.6758 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/0.6029, allocations: 0.9015 MB / 0.6767 GB, free: 12.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.007696/0.6106, allocations: 5.294 MB / 0.6818 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/0.6142, allocations: 0.7988 MB / 0.6826 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008556/0.6151, allocations: 319.1 kB / 0.6829 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000769/0.6159, allocations: 0.9103 MB / 0.6838 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.802e-05/0.616, allocations: 42.5 kB / 0.6839 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.675e-06/0.616, allocations: 0 / 0.6839 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.009403/0.6254, allocations: 1.953 MB / 0.6858 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.6255, allocations: 59.36 kB / 0.6858 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/0.6277, allocations: 1.08 MB / 0.6869 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.6279, allocations: 41.7 kB / 0.6869 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/0.6284, allocations: 0.5428 MB / 0.6874 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.6286, allocations: 153.8 kB / 0.6876 GB, free: 468 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/0.6289, allocations: 142.1 kB / 0.6877 GB, free: 320 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.6291, allocations: 329.9 kB / 0.688 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.6301, allocations: 331.2 kB / 0.6884 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.6315, allocations: 0.5502 MB / 0.6889 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.6335, allocations: 0.7504 MB / 0.6896 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.6335, allocations: 4 kB / 0.6896 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004337/0.6379, allocations: 1.196 MB / 0.6908 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.6379, allocations: 11.94 kB / 0.6908 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.638, allocations: 7.984 kB / 0.6908 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.6394, allocations: 308.7 kB / 0.6911 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/0.64, allocations: 135.8 kB / 0.6912 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.6418, allocations: 0.9229 MB / 0.6921 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.6433, allocations: 163.1 kB / 0.6923 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.6435, allocations: 32.08 kB / 0.6923 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001486/0.645, allocations: 0.5285 MB / 0.6928 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001355/0.6463, allocations: 0.5541 MB / 0.6934 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001939/0.6483, allocations: 0.7416 MB / 0.6941 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.125e-05/0.6483, allocations: 11.94 kB / 0.6941 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.004122/0.6524, allocations: 1.172 MB / 0.6953 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6525, allocations: 8 kB / 0.6953 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.6525, allocations: 4 kB / 0.6953 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.6537, allocations: 327 kB / 0.6956 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.6543, allocations: 131.8 kB / 0.6957 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.656, allocations: 0.9036 MB / 0.6966 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.6576, allocations: 147.5 kB / 0.6967 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.6577, allocations: 39.98 kB / 0.6968 GB, free: 6.609 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0003304/0.658, allocations: 220.9 kB / 0.697 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004325/0.6585, allocations: 118.6 kB / 0.6971 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00432/0.6628, allocations: 1.129 MB / 0.6982 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.6628, allocations: 12 kB / 0.6982 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.6628, allocations: 0 / 0.6982 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.6629, allocations: 7.922 kB / 0.6982 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00609/0.669, allocations: 2.214 MB / 0.7004 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.669, allocations: 0 / 0.7004 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.6693, allocations: 80.16 kB / 0.7005 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/0.6705, allocations: 296.5 kB / 0.7007 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/0.6705, allocations: 16 kB / 0.7008 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.6723, allocations: 0.9414 MB / 0.7017 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.6723, allocations: 4 kB / 0.7017 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004203/0.6765, allocations: 1.208 MB / 0.7029 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006591/0.6772, allocations: 267.5 kB / 0.7031 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/0.6775, allocations: 12 kB / 0.7031 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009899/0.6785, allocations: 75.91 kB / 0.7032 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.6786, allocations: 43.89 kB / 0.7032 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.306e-05/0.6787, allocations: 23.98 kB / 0.7033 GB, free: 15.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001517/0.6802, allocations: 0.7591 MB / 0.704 GB, free: 15 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6802, allocations: 4 kB / 0.704 GB, free: 15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002037/0.6823, allocations: 0.5731 MB / 0.7046 GB, free: 14.43 MB / 0.545 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.000964/0.6832, allocations: 389.6 kB / 0.7049 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003773/0.687, allocations: 1.203 MB / 0.7061 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.6871, allocations: 0 / 0.7061 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.6881, allocations: 362.6 kB / 0.7065 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/0.691, allocations: 0.504 MB / 0.707 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006074/0.6971, allocations: 2.118 MB / 0.709 GB, free: 9.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008414/0.698, allocations: 1.069 MB / 0.7101 GB, free: 8.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.6983, allocations: 83.42 kB / 0.7101 GB, free: 8.656 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/0.6983, allocations: 0 / 0.7101 GB, free: 8.656 MB / 0.545 GB Notification: Performance of Templates: time 0.03997/0.7383, allocations: 24.31 MB / 0.7339 GB, free: 0.5117 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)