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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, 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.001761/0.001761, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.115/2.115, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.674/1.674, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006543/0.0006552, allocations: 8 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3472, allocations: 82.3 MB / 0.5873 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.8201/1.167, allocations: 51.33 MB / 0.6374 GB, free: 23.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02575/1.193, allocations: 10.33 MB / 0.6475 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004242/1.198, allocations: 51.12 kB / 0.6475 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004564/1.202, allocations: 0.6197 MB / 0.6481 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01578/1.218, allocations: 1.958 MB / 0.6501 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009441/1.228, allocations: 1.309 MB / 0.6513 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009056/1.237, allocations: 1.86 MB / 0.6531 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003249/1.24, allocations: 0.8211 MB / 0.6539 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00476/1.245, allocations: 0.9916 MB / 0.6549 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002407/1.247, allocations: 0.6021 MB / 0.6555 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005311/1.248, allocations: 47.62 kB / 0.6555 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006085/1.254, allocations: 0.9868 MB / 0.6565 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009535/1.255, allocations: 197.5 kB / 0.6567 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001523/1.256, allocations: 286.5 kB / 0.657 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00655/1.263, allocations: 1.587 MB / 0.6585 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/1.263, allocations: 0 / 0.6585 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.699e-06/1.263, allocations: 0 / 0.6585 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001262/1.263, allocations: 1.062 kB / 0.6585 GB, free: 11.16 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.007845/1.271, allocations: 1.505 MB / 0.66 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.006e-05/1.271, allocations: 8.719 kB / 0.66 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000663/1.272, allocations: 121.4 kB / 0.6601 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004779/1.277, allocations: 473.8 kB / 0.6606 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005755/1.282, allocations: 1.046 MB / 0.6616 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009218/1.283, allocations: 132.3 kB / 0.6617 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006738/1.284, allocations: 91.45 kB / 0.6618 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005988/1.29, allocations: 1.018 MB / 0.6628 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.857e-05/1.29, allocations: 1.156 kB / 0.6628 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000256/1.291, allocations: 36.58 kB / 0.6628 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.275e-05/1.291, allocations: 19.41 kB / 0.6629 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006018/1.297, allocations: 0.9563 MB / 0.6638 GB, free: 8.453 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.01667/1.313, allocations: 4.945 MB / 0.6686 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007301/1.321, allocations: 0.9197 MB / 0.6695 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/1.322, allocations: 0.8975 MB / 0.6704 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/1.322, allocations: 38.5 kB / 0.6704 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 5.791e-06/1.322, allocations: 0 / 0.6704 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.01755/1.34, allocations: 2.205 MB / 0.6726 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/1.34, allocations: 56.09 kB / 0.6726 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005734/1.346, allocations: 1.068 MB / 0.6737 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003824/1.346, allocations: 38.92 kB / 0.6737 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/1.347, allocations: 0.5313 MB / 0.6742 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005467/1.348, allocations: 158.4 kB / 0.6744 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/1.348, allocations: 10.19 kB / 0.6744 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.348, allocations: 330 kB / 0.6747 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/1.35, allocations: 341.5 kB / 0.675 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/1.353, allocations: 0.5491 MB / 0.6756 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/1.355, allocations: 383 kB / 0.6759 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-05/1.355, allocations: 1.156 kB / 0.6759 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.006359/1.362, allocations: 1.078 MB / 0.677 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001236/1.363, allocations: 1.669 MB / 0.6786 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/1.363, allocations: 4.125 kB / 0.6786 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00284/1.366, allocations: 334.6 kB / 0.6789 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/1.367, allocations: 139.2 kB / 0.6791 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/1.37, allocations: 0.9401 MB / 0.68 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003399/1.374, allocations: 204.3 kB / 0.6802 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/1.374, allocations: 29.58 kB / 0.6802 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.374, allocations: 3.781 kB / 0.6802 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005426/1.38, allocations: 0.9552 MB / 0.6812 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/1.38, allocations: 4.844 kB / 0.6812 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002131/1.382, allocations: 320.5 kB / 0.6815 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/1.383, allocations: 140.2 kB / 0.6816 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002691/1.386, allocations: 0.93 MB / 0.6825 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/1.388, allocations: 184.1 kB / 0.6827 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/1.388, allocations: 27.81 kB / 0.6827 GB, free: 12.87 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.001213/1.39, allocations: 357.7 kB / 0.6831 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000535/1.39, allocations: 115.8 kB / 0.6832 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007111/1.397, allocations: 1.238 MB / 0.6844 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.896e-05/1.397, allocations: 4.859 kB / 0.6844 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/1.397, allocations: 1.984 kB / 0.6844 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/1.397, allocations: 2.203 kB / 0.6844 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/1.41, allocations: 2.34 MB / 0.6867 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.722e-05/1.41, allocations: 6.438 kB / 0.6867 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000641/1.411, allocations: 78.8 kB / 0.6867 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/1.413, allocations: 318 kB / 0.687 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/1.413, allocations: 16.72 kB / 0.6871 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/1.416, allocations: 0.9706 MB / 0.688 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/1.416, allocations: 2.312 kB / 0.688 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008225/1.424, allocations: 1.433 MB / 0.6894 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.426, allocations: 298.3 kB / 0.6897 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005357/1.426, allocations: 12.5 kB / 0.6897 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/1.428, allocations: 122.8 kB / 0.6898 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/1.429, allocations: 42.72 kB / 0.6899 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.429, allocations: 24.61 kB / 0.6899 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002772/1.431, allocations: 0.7504 MB / 0.6906 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.82e-07/1.431, allocations: 0 / 0.6906 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00419/1.436, allocations: 0.566 MB / 0.6912 GB, free: 8.938 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.009882/1.446, allocations: 2.861 MB / 0.694 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006301/1.452, allocations: 1.233 MB / 0.6952 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.91e-05/1.452, allocations: 1.469 kB / 0.6952 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/1.454, allocations: 387.7 kB / 0.6955 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005178/1.459, allocations: 0.4965 MB / 0.696 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/1.475, allocations: 5.957 MB / 0.7018 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/1.477, allocations: 1.091 MB / 0.7029 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002149/1.479, allocations: 224 kB / 0.7031 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/1.48, allocations: 415.7 kB / 0.7035 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of SimCode: time 1.423e-06/1.48, allocations: 0 / 0.7035 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/1.615, allocations: 33.25 MB / 0.736 GB, free: 3.027 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004953/1.616, allocations: 265.5 kB / 0.7362 GB, free: 2.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.925/6.541, allocations: 0 / 0.7362 GB, free: 2.68 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) Environment - environmentSimulation: