Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",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.0008336/0.0008336, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008327/0.0008327, allocations: 172.7 kB / 15.95 MB, free: 208 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.23/1.23, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8338/0.8338, allocations: 135.3 MB / 426.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003806, allocations: 13.36 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1421, allocations: 82.3 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.2801/0.4222, allocations: 56.49 MB / 0.6426 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.434, allocations: 11.2 MB / 0.6536 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.4359, allocations: 53.72 kB / 0.6536 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.4375, allocations: 460.5 kB / 0.6541 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004228/0.4417, allocations: 1.536 MB / 0.6556 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.4447, allocations: 0.8609 MB / 0.6564 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004134/0.4488, allocations: 3.4 MB / 0.6597 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.4503, allocations: 0.7816 MB / 0.6605 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.4529, allocations: 1.041 MB / 0.6615 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.4547, allocations: 0.8041 MB / 0.6623 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.455, allocations: 42 kB / 0.6623 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.4579, allocations: 1.113 MB / 0.6634 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000339/0.4583, allocations: 195.4 kB / 0.6636 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006637/0.4589, allocations: 286 kB / 0.6639 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003169/0.4621, allocations: 1.637 MB / 0.6655 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4621, allocations: 0 / 0.6655 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.023e-06/0.4622, allocations: 0.75 kB / 0.6655 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.027e-05/0.4622, allocations: 0 / 0.6655 GB, free: 6.977 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003878/0.4661, allocations: 1.502 MB / 0.6669 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.4662, allocations: 10.8 kB / 0.6669 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003817/0.4666, allocations: 127.8 kB / 0.6671 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.4686, allocations: 383.7 kB / 0.6674 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00277/0.4714, allocations: 1.088 MB / 0.6685 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000367/0.4718, allocations: 127.4 kB / 0.6686 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.472, allocations: 83.67 kB / 0.6687 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.4742, allocations: 0.962 MB / 0.6696 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.4742, allocations: 5.156 kB / 0.6696 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.294e-05/0.4743, allocations: 31.16 kB / 0.6697 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.4743, allocations: 20.22 kB / 0.6697 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.4765, allocations: 0.8417 MB / 0.6705 GB, free: 4.297 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.006325/0.4828, allocations: 4.811 MB / 0.6752 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.4843, allocations: 0.5909 MB / 0.6758 GB, free: 468 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/0.4849, allocations: 280.5 kB / 0.6761 GB, free: 376 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/0.4862, allocations: 1.391 MB / 0.6774 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.4863, allocations: 41.34 kB / 0.6775 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.4863, allocations: 0 / 0.6775 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008066/0.4944, allocations: 2.036 MB / 0.6794 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.4944, allocations: 54.88 kB / 0.6795 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.4966, allocations: 1.05 MB / 0.6805 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.4968, allocations: 35.2 kB / 0.6806 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000513/0.4973, allocations: 0.5253 MB / 0.6811 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.4975, allocations: 153.7 kB / 0.6812 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.4975, allocations: 10.75 kB / 0.6812 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4977, allocations: 333.2 kB / 0.6815 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007833/0.4985, allocations: 282.4 kB / 0.6818 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.4995, allocations: 495.6 kB / 0.6823 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008431/0.5004, allocations: 327.1 kB / 0.6826 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.5004, allocations: 1.344 kB / 0.6826 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003589/0.504, allocations: 1.14 MB / 0.6837 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.5042, allocations: 204.7 kB / 0.6839 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.5042, allocations: 9.875 kB / 0.6839 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.5054, allocations: 324.7 kB / 0.6842 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.5059, allocations: 120 kB / 0.6843 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.5074, allocations: 0.9334 MB / 0.6853 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.5088, allocations: 183.1 kB / 0.6854 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.525e-05/0.5089, allocations: 36.84 kB / 0.6855 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.509, allocations: 3.594 kB / 0.6855 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002894/0.5119, allocations: 1.012 MB / 0.6865 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5119, allocations: 4.953 kB / 0.6865 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.513, allocations: 312.5 kB / 0.6868 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.5134, allocations: 118.5 kB / 0.6869 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.5148, allocations: 0.9361 MB / 0.6878 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.516, allocations: 172.3 kB / 0.6879 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/0.5161, allocations: 27.91 kB / 0.688 GB, free: 9.84 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0008311/0.5169, allocations: 348.6 kB / 0.6883 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/0.5173, allocations: 108 kB / 0.6884 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/0.5211, allocations: 1.162 MB / 0.6895 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.5211, allocations: 6.5 kB / 0.6896 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5211, allocations: 0 / 0.6896 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.5211, allocations: 3.891 kB / 0.6896 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005256/0.5264, allocations: 2.138 MB / 0.6916 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.5264, allocations: 2.469 kB / 0.6916 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.5267, allocations: 62.38 kB / 0.6917 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.5277, allocations: 334.1 kB / 0.692 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.5278, allocations: 10.17 kB / 0.692 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.5292, allocations: 0.9717 MB / 0.693 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5292, allocations: 2.031 kB / 0.693 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.5324, allocations: 1.191 MB / 0.6941 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006436/0.5331, allocations: 279.1 kB / 0.6944 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/0.5334, allocations: 8.406 kB / 0.6944 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000952/0.5343, allocations: 105.9 kB / 0.6945 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/0.5344, allocations: 43.12 kB / 0.6946 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.5345, allocations: 26.19 kB / 0.6946 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001392/0.5359, allocations: 0.7344 MB / 0.6953 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5359, allocations: 3.938 kB / 0.6953 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002083/0.538, allocations: 0.5663 MB / 0.6959 GB, free: 6.176 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 (33): * Single equations (assignments): 28 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.004261/0.5423, allocations: 2.005 MB / 0.6978 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00271/0.545, allocations: 1.046 MB / 0.6988 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.545, allocations: 3.938 kB / 0.6988 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007579/0.5458, allocations: 331.6 kB / 0.6992 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/0.5485, allocations: 0.5002 MB / 0.6996 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/0.5638, allocations: 6.444 MB / 0.7059 GB, free: 336 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009229/0.5648, allocations: 1.064 MB / 0.707 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001264/0.5661, allocations: 216.5 kB / 0.7072 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00069/0.5668, allocations: 414.5 kB / 0.7076 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of SimCode: time 1.362e-06/0.5668, allocations: 0 / 0.7076 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.491/2.058, allocations: 33.45 MB / 0.7403 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000375/2.058, allocations: 271 kB / 0.7405 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.547/4.606, allocations: 0 / 0.7405 GB, free: 14.72 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: