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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="IDEAS_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.0007902/0.0007944, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00467/0.00467, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.391/1.391, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7512/0.7512, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003311, allocations: 8.969 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4503, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06072/0.5111, allocations: 59.79 MB / 0.6421 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01663/0.5278, allocations: 11.92 MB / 0.6538 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003328/0.5312, allocations: 55.62 kB / 0.6538 GB, free: 8.461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.5334, allocations: 0.5438 MB / 0.6544 GB, free: 7.914 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006063/0.5395, allocations: 1.807 MB / 0.6561 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002877/0.5424, allocations: 1.08 MB / 0.6572 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004793/0.5472, allocations: 3.913 MB / 0.661 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.5486, allocations: 0.9226 MB / 0.6619 GB, free: 156 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/0.5509, allocations: 1.128 MB / 0.663 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.5522, allocations: 0.8631 MB / 0.6638 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.5523, allocations: 44 kB / 0.6639 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/0.5549, allocations: 1.321 MB / 0.6652 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.5551, allocations: 222.9 kB / 0.6654 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006605/0.5558, allocations: 0.635 MB / 0.666 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.5586, allocations: 2.204 MB / 0.6682 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5586, allocations: 0 / 0.6682 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5586, allocations: 0 / 0.6682 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.5586, allocations: 0 / 0.6682 GB, free: 9.711 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.002812/0.5614, allocations: 1.513 MB / 0.6696 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.5615, allocations: 8.031 kB / 0.6696 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/0.5617, allocations: 130.9 kB / 0.6698 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.5638, allocations: 474.6 kB / 0.6702 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/0.5659, allocations: 1.135 MB / 0.6713 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003569/0.5663, allocations: 129.9 kB / 0.6714 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.5664, allocations: 84 kB / 0.6715 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.5684, allocations: 1.025 MB / 0.6725 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.5685, allocations: 0 / 0.6725 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.9e-05/0.5686, allocations: 39.98 kB / 0.6726 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.5686, allocations: 20 kB / 0.6726 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002482/0.5711, allocations: 0.9601 MB / 0.6735 GB, free: 4.043 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.00717/0.5783, allocations: 4.922 MB / 0.6783 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/0.5818, allocations: 0.9092 MB / 0.6792 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008234/0.5827, allocations: 344.6 kB / 0.6795 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006396/0.5833, allocations: 0.9025 MB / 0.6804 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.5834, allocations: 38.5 kB / 0.6805 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.545e-06/0.5834, allocations: 4 kB / 0.6805 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.00915/0.5925, allocations: 2.212 MB / 0.6826 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.5926, allocations: 59.36 kB / 0.6827 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.5943, allocations: 1.067 MB / 0.6837 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.664e-05/0.5944, allocations: 37.7 kB / 0.6838 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004539/0.5948, allocations: 0.5274 MB / 0.6843 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.595, allocations: 153.8 kB / 0.6844 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.5951, allocations: 45.69 kB / 0.6845 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5952, allocations: 333.9 kB / 0.6848 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009926/0.5962, allocations: 344.9 kB / 0.6851 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.5974, allocations: 0.5569 MB / 0.6857 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.5992, allocations: 0.7687 MB / 0.6864 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.5992, allocations: 3.938 kB / 0.6864 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002978/0.6022, allocations: 1.086 MB / 0.6875 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.6024, allocations: 221.1 kB / 0.6877 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6024, allocations: 7.938 kB / 0.6877 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.6037, allocations: 336.7 kB / 0.688 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.6043, allocations: 139.8 kB / 0.6881 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.6058, allocations: 0.938 MB / 0.6891 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.6072, allocations: 199.3 kB / 0.6893 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.885e-05/0.6073, allocations: 27.98 kB / 0.6893 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.6073, allocations: 4 kB / 0.6893 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002604/0.6099, allocations: 0.9645 MB / 0.6902 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6099, allocations: 4 kB / 0.6902 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.6111, allocations: 329 kB / 0.6905 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.6116, allocations: 139.8 kB / 0.6907 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.6131, allocations: 0.9347 MB / 0.6916 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.6144, allocations: 175.4 kB / 0.6918 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.334e-05/0.6145, allocations: 31.98 kB / 0.6918 GB, free: 404 kB / 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 (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.0005856/0.6151, allocations: 356.9 kB / 0.6921 GB, free: 36 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.6153, allocations: 106.9 kB / 0.6922 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004184/0.6195, allocations: 1.246 MB / 0.6934 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.6195, allocations: 11.94 kB / 0.6935 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.6195, allocations: 4 kB / 0.6935 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.6195, allocations: 3.984 kB / 0.6935 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00585/0.6254, allocations: 2.332 MB / 0.6957 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.6254, allocations: 7.938 kB / 0.6958 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.6258, allocations: 71.95 kB / 0.6958 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.6269, allocations: 328.8 kB / 0.6961 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.282e-05/0.6269, allocations: 12 kB / 0.6961 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.6285, allocations: 0.9734 MB / 0.6971 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.6285, allocations: 7.969 kB / 0.6971 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/0.6325, allocations: 1.31 MB / 0.6984 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007106/0.6333, allocations: 283.4 kB / 0.6987 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/0.6336, allocations: 12 kB / 0.6987 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.6347, allocations: 127.8 kB / 0.6988 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.6349, allocations: 43.83 kB / 0.6988 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/0.6349, allocations: 23.98 kB / 0.6989 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001423/0.6364, allocations: 0.7471 MB / 0.6996 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6364, allocations: 0 / 0.6996 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001856/0.6382, allocations: 0.5614 MB / 0.7001 GB, free: 7.652 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.005023/0.6433, allocations: 2.14 MB / 0.7022 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003533/0.6468, allocations: 1.23 MB / 0.7034 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6468, allocations: 3.938 kB / 0.7034 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.6479, allocations: 400.5 kB / 0.7038 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/0.6511, allocations: 0.5053 MB / 0.7043 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/0.6714, allocations: 9.347 MB / 0.7134 GB, free: 9.566 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006913/0.6721, allocations: 1.065 MB / 0.7145 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001027/0.6732, allocations: 218.5 kB / 0.7147 GB, free: 8.266 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/0.6738, allocations: 419.2 kB / 0.7151 GB, free: 7.855 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/0.6738, allocations: 0 / 0.7151 GB, free: 7.855 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05901/0.7328, allocations: 32.37 MB / 0.7467 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/0.7331, allocations: 288.9 kB / 0.747 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.287, allocations: 0 / 0.747 GB, free: 7.645 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)