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.000796/0.000796, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008616/0.0008617, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.855/0.855, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004838, allocations: 8.781 kB / 0.5071 GB, free: 5.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1842, allocations: 82.31 MB / 0.5875 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.3271/0.5114, allocations: 56.53 MB / 0.6427 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.5229, allocations: 11.22 MB / 0.6536 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.5244, allocations: 54.94 kB / 0.6537 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.5255, allocations: 458.6 kB / 0.6541 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.5287, allocations: 1.532 MB / 0.6556 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.5308, allocations: 0.8582 MB / 0.6565 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002745/0.5335, allocations: 3.412 MB / 0.6598 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009182/0.5344, allocations: 0.8004 MB / 0.6606 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.536, allocations: 1.05 MB / 0.6616 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00099/0.537, allocations: 0.8094 MB / 0.6624 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.5371, allocations: 43.34 kB / 0.6624 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.5392, allocations: 1.093 MB / 0.6635 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.5394, allocations: 194 kB / 0.6637 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.5397, allocations: 287.7 kB / 0.664 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.5417, allocations: 1.644 MB / 0.6656 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.5417, allocations: 0 / 0.6656 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5417, allocations: 0.75 kB / 0.6656 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.5418, allocations: 0 / 0.6656 GB, free: 6.91 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.002512/0.5443, allocations: 1.522 MB / 0.667 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.5443, allocations: 8.969 kB / 0.6671 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.5445, allocations: 127.2 kB / 0.6672 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.5465, allocations: 469.4 kB / 0.6676 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.5484, allocations: 1.102 MB / 0.6687 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000323/0.5487, allocations: 124.4 kB / 0.6688 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.5488, allocations: 84.44 kB / 0.6689 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.5508, allocations: 1.03 MB / 0.6699 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.5508, allocations: 0 / 0.6699 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.366e-05/0.5509, allocations: 37.17 kB / 0.6699 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.5509, allocations: 18.56 kB / 0.67 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.5532, allocations: 0.953 MB / 0.6709 GB, free: 4.18 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.005445/0.5587, allocations: 4.91 MB / 0.6757 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003227/0.5619, allocations: 0.9004 MB / 0.6766 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007804/0.5627, allocations: 345.3 kB / 0.6769 GB, free: 176 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006165/0.5633, allocations: 0.9 MB / 0.6778 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.5634, allocations: 41.7 kB / 0.6778 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.274e-06/0.5634, allocations: 1.188 kB / 0.6778 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.008257/0.5717, allocations: 2.206 MB / 0.68 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.5717, allocations: 71.88 kB / 0.68 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.5733, allocations: 1.048 MB / 0.6811 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/0.5734, allocations: 38.89 kB / 0.6811 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000445/0.5739, allocations: 0.5309 MB / 0.6816 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.574, allocations: 159 kB / 0.6818 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.5741, allocations: 10.22 kB / 0.6818 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5742, allocations: 328.9 kB / 0.6821 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009215/0.5751, allocations: 338.1 kB / 0.6824 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.5762, allocations: 0.5511 MB / 0.6829 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009539/0.5772, allocations: 370.7 kB / 0.6833 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5772, allocations: 5.188 kB / 0.6833 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002653/0.5798, allocations: 1.082 MB / 0.6844 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.58, allocations: 224.5 kB / 0.6846 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.58, allocations: 12.39 kB / 0.6846 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.5813, allocations: 321.8 kB / 0.6849 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005653/0.5819, allocations: 136.8 kB / 0.685 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.5833, allocations: 0.9389 MB / 0.6859 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.5847, allocations: 202.1 kB / 0.6861 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.835e-05/0.5848, allocations: 29.3 kB / 0.6862 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.5848, allocations: 3.656 kB / 0.6862 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002585/0.5874, allocations: 0.9568 MB / 0.6871 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5874, allocations: 9.266 kB / 0.6871 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.5885, allocations: 326 kB / 0.6874 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.589, allocations: 137 kB / 0.6876 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.5904, allocations: 0.9307 MB / 0.6885 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.5916, allocations: 180.2 kB / 0.6886 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.621e-05/0.5917, allocations: 28.02 kB / 0.6887 GB, free: 10.03 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.0005266/0.5922, allocations: 356.4 kB / 0.689 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.5924, allocations: 112.1 kB / 0.6891 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003746/0.5962, allocations: 1.241 MB / 0.6903 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.5962, allocations: 10.02 kB / 0.6903 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5962, allocations: 0 / 0.6903 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.5962, allocations: 7.625 kB / 0.6903 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005302/0.6015, allocations: 2.323 MB / 0.6926 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.6016, allocations: 5.297 kB / 0.6926 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.6019, allocations: 83.98 kB / 0.6927 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.6029, allocations: 317.8 kB / 0.693 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/0.603, allocations: 12.27 kB / 0.693 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.6044, allocations: 0.9772 MB / 0.694 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.6044, allocations: 2.719 kB / 0.694 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.608, allocations: 1.311 MB / 0.6952 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005159/0.6085, allocations: 282.6 kB / 0.6955 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.6087, allocations: 21.53 kB / 0.6955 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009586/0.6097, allocations: 123.3 kB / 0.6956 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/0.6098, allocations: 43.11 kB / 0.6957 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/0.6098, allocations: 26.48 kB / 0.6957 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001205/0.6111, allocations: 0.7377 MB / 0.6964 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6111, allocations: 0 / 0.6964 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001844/0.6129, allocations: 0.5578 MB / 0.697 GB, free: 6.203 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.00442/0.6174, allocations: 2.125 MB / 0.6991 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003086/0.6204, allocations: 1.219 MB / 0.7002 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.6205, allocations: 1.281 kB / 0.7002 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008871/0.6214, allocations: 393.3 kB / 0.7006 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.6236, allocations: 0.5023 MB / 0.7011 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/0.6387, allocations: 6.962 MB / 0.7079 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005746/0.6393, allocations: 1.065 MB / 0.709 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009449/0.6403, allocations: 222.1 kB / 0.7092 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/0.6408, allocations: 419.3 kB / 0.7096 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.6408, allocations: 0 / 0.7096 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.557/2.197, allocations: 33.53 MB / 0.7423 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/2.198, allocations: 258.5 kB / 0.7426 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/4.79, allocations: 0 / 0.7426 GB, free: 12.72 MB / 0.5606 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: