Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001352/0.001352, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7796/0.7796, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001194, allocations: 56.31 kB / 0.5018 GB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4343, allocations: 80.21 MB / 0.5801 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06093/0.4952, allocations: 61.23 MB / 0.6399 GB, free: 4.145 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01913/0.5144, allocations: 12 MB / 0.6516 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003877/0.5184, allocations: 55.69 kB / 0.6517 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.5209, allocations: 0.6752 MB / 0.6523 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007936/0.5289, allocations: 1.981 MB / 0.6542 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004192/0.5331, allocations: 1.193 MB / 0.6554 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005207/0.5383, allocations: 3.095 MB / 0.6584 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.5402, allocations: 1.112 MB / 0.6595 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003854/0.5441, allocations: 1.338 MB / 0.6608 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.5459, allocations: 0.9023 MB / 0.6617 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002474/0.5462, allocations: 116 kB / 0.6618 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003424/0.5496, allocations: 1.439 MB / 0.6632 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003218/0.5499, allocations: 290.9 kB / 0.6635 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009404/0.5509, allocations: 0.6997 MB / 0.6642 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003396/0.5543, allocations: 2.29 MB / 0.6664 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.5543, allocations: 0 / 0.6664 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5543, allocations: 0 / 0.6664 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.43e-05/0.5544, allocations: 4 kB / 0.6664 GB, free: 8.867 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.003052/0.5574, allocations: 1.746 MB / 0.6681 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.5575, allocations: 12.03 kB / 0.6681 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/0.5596, allocations: 410.8 kB / 0.6685 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.5615, allocations: 1.108 MB / 0.6696 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003541/0.5618, allocations: 121.9 kB / 0.6697 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.562, allocations: 80 kB / 0.6698 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.564, allocations: 1.025 MB / 0.6708 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.564, allocations: 4 kB / 0.6708 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.494e-05/0.5641, allocations: 32 kB / 0.6708 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.5641, allocations: 20 kB / 0.6709 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.5664, allocations: 0.9014 MB / 0.6717 GB, free: 3.242 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.006363/0.5728, allocations: 5.29 MB / 0.6769 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003419/0.5762, allocations: 0.8032 MB / 0.6777 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007797/0.577, allocations: 320.6 kB / 0.678 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007014/0.5777, allocations: 0.9064 MB / 0.6789 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.5778, allocations: 34.56 kB / 0.6789 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.675e-06/0.5778, allocations: 0 / 0.6789 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.008636/0.5864, allocations: 1.954 MB / 0.6808 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.5865, allocations: 67.3 kB / 0.6809 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.5881, allocations: 1.076 MB / 0.6819 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-05/0.5882, allocations: 37.7 kB / 0.682 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/0.5886, allocations: 0.5389 MB / 0.6825 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.5888, allocations: 157.8 kB / 0.6827 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.589, allocations: 138.1 kB / 0.6828 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.5892, allocations: 333.9 kB / 0.6831 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009181/0.5901, allocations: 327.2 kB / 0.6834 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.5912, allocations: 0.5541 MB / 0.684 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.593, allocations: 0.7513 MB / 0.6847 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.593, allocations: 0 / 0.6847 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003729/0.5967, allocations: 1.204 MB / 0.6859 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5967, allocations: 13.66 kB / 0.6859 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.5968, allocations: 8 kB / 0.6859 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.598, allocations: 311 kB / 0.6862 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.5986, allocations: 139.8 kB / 0.6863 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.6, allocations: 0.9113 MB / 0.6872 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.6014, allocations: 163.2 kB / 0.6874 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/0.6015, allocations: 35.98 kB / 0.6874 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001254/0.6028, allocations: 0.5338 MB / 0.6879 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0011/0.6039, allocations: 0.5502 MB / 0.6885 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001698/0.6056, allocations: 0.7455 MB / 0.6892 GB, free: 332 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.22e-06/0.6056, allocations: 3.938 kB / 0.6892 GB, free: 328 kB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003581/0.6092, allocations: 1.188 MB / 0.6903 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.6092, allocations: 8 kB / 0.6904 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6092, allocations: 4 kB / 0.6904 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.6103, allocations: 312.6 kB / 0.6907 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.6109, allocations: 139.8 kB / 0.6908 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.6123, allocations: 0.9129 MB / 0.6917 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.6136, allocations: 143.5 kB / 0.6918 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-05/0.6136, allocations: 35.98 kB / 0.6919 GB, free: 13.55 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.0002464/0.6139, allocations: 224 kB / 0.6921 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/0.6142, allocations: 110.6 kB / 0.6922 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004015/0.6182, allocations: 1.137 MB / 0.6933 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.6182, allocations: 4 kB / 0.6933 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6183, allocations: 4 kB / 0.6933 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.6183, allocations: 7.922 kB / 0.6933 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005539/0.6238, allocations: 2.212 MB / 0.6955 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.6239, allocations: 4 kB / 0.6955 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.6242, allocations: 71.88 kB / 0.6955 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.6252, allocations: 300.8 kB / 0.6958 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.6253, allocations: 23.98 kB / 0.6958 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.6268, allocations: 0.9391 MB / 0.6968 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6268, allocations: 0 / 0.6968 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003886/0.6307, allocations: 1.212 MB / 0.6979 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/0.6313, allocations: 263.5 kB / 0.6982 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/0.6316, allocations: 12 kB / 0.6982 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.6326, allocations: 75.91 kB / 0.6983 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.6328, allocations: 43.83 kB / 0.6983 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/0.6328, allocations: 23.98 kB / 0.6983 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001451/0.6343, allocations: 0.7592 MB / 0.6991 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.464e-06/0.6343, allocations: 0 / 0.6991 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002053/0.6364, allocations: 0.5769 MB / 0.6996 GB, free: 5.375 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.0009353/0.6373, allocations: 395.7 kB / 0.7 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00373/0.6411, allocations: 1.207 MB / 0.7012 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6411, allocations: 0 / 0.7012 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009827/0.6421, allocations: 366.6 kB / 0.7015 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.6445, allocations: 0.5029 MB / 0.702 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005335/0.6499, allocations: 2.071 MB / 0.7041 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007346/0.6506, allocations: 1.073 MB / 0.7051 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009779/0.6516, allocations: 229.5 kB / 0.7053 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.6518, allocations: 75.42 kB / 0.7054 GB, free: 15.43 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.6518, allocations: 0 / 0.7054 GB, free: 15.43 MB / 0.545 GB Notification: Performance of Templates: time 0.04013/0.692, allocations: 25.25 MB / 0.7301 GB, free: 6.512 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)