Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0008535/0.0008535, allocations: 92.31 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.001007/0.001008, 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.374/1.374, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9751/0.9751, allocations: 143.4 MB / 434.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002989, allocations: 8 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.165, allocations: 83.41 MB / 0.5975 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.3358/0.5008, allocations: 56.48 MB / 0.6527 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.5132, allocations: 11.23 MB / 0.6637 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.515, allocations: 51.16 kB / 0.6637 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.5164, allocations: 475.1 kB / 0.6642 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00441/0.5208, allocations: 1.524 MB / 0.6656 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.5238, allocations: 0.8614 MB / 0.6665 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005036/0.5288, allocations: 3.387 MB / 0.6698 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.5307, allocations: 0.7952 MB / 0.6706 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00294/0.5337, allocations: 1.04 MB / 0.6716 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002153/0.5359, allocations: 0.8037 MB / 0.6724 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003834/0.5363, allocations: 41.06 kB / 0.6724 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/0.5398, allocations: 1.115 MB / 0.6735 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000539/0.5403, allocations: 203 kB / 0.6737 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008265/0.5412, allocations: 277.9 kB / 0.674 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003419/0.5446, allocations: 1.736 MB / 0.6757 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5446, allocations: 1.062 kB / 0.6757 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5446, allocations: 0 / 0.6757 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.825e-05/0.5447, allocations: 0 / 0.6757 GB, free: 11.25 MB / 0.5137 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.004013/0.5487, allocations: 1.503 MB / 0.6771 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.5488, allocations: 13.89 kB / 0.6771 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003502/0.5491, allocations: 129 kB / 0.6773 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.551, allocations: 379.9 kB / 0.6776 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/0.5539, allocations: 1.08 MB / 0.6787 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/0.5543, allocations: 143.5 kB / 0.6788 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.5545, allocations: 79.48 kB / 0.6789 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.5568, allocations: 0.9611 MB / 0.6798 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.5569, allocations: 6.156 kB / 0.6798 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.222e-05/0.557, allocations: 35.33 kB / 0.6799 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.557, allocations: 19.75 kB / 0.6799 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.5593, allocations: 0.8467 MB / 0.6807 GB, free: 8.559 MB / 0.5137 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.008045/0.5673, allocations: 4.794 MB / 0.6854 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.569, allocations: 0.5922 MB / 0.686 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006603/0.5696, allocations: 289 kB / 0.6862 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/0.5711, allocations: 1.393 MB / 0.6876 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.5711, allocations: 33.84 kB / 0.6876 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.425e-06/0.5711, allocations: 0 / 0.6876 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007731/0.5789, allocations: 2.047 MB / 0.6896 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.579, allocations: 55.16 kB / 0.6897 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.5809, allocations: 1.052 MB / 0.6907 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.625e-05/0.581, allocations: 32.92 kB / 0.6908 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004888/0.5815, allocations: 0.5262 MB / 0.6913 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.5817, allocations: 146.1 kB / 0.6914 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.5817, allocations: 10.38 kB / 0.6914 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5818, allocations: 325.8 kB / 0.6917 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007664/0.5826, allocations: 286.9 kB / 0.692 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009616/0.5836, allocations: 498.7 kB / 0.6925 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000835/0.5844, allocations: 322.8 kB / 0.6928 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.5845, allocations: 5.594 kB / 0.6928 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003652/0.5881, allocations: 1.155 MB / 0.6939 GB, free: 288 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.5883, allocations: 201 kB / 0.6941 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.5883, allocations: 5.406 kB / 0.6941 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.5897, allocations: 331.7 kB / 0.6944 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.5902, allocations: 111.1 kB / 0.6945 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.5917, allocations: 0.9442 MB / 0.6955 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.5932, allocations: 178.4 kB / 0.6956 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.5933, allocations: 28.67 kB / 0.6957 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.5933, allocations: 4.031 kB / 0.6957 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003281/0.5966, allocations: 1.017 MB / 0.6967 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.5967, allocations: 4.094 kB / 0.6967 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.5979, allocations: 320.1 kB / 0.697 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.5984, allocations: 112.2 kB / 0.6971 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.6, allocations: 0.9396 MB / 0.698 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.6013, allocations: 159.1 kB / 0.6981 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.755e-05/0.6014, allocations: 26.59 kB / 0.6982 GB, free: 14.12 MB / 0.5294 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.0006746/0.6021, allocations: 352.4 kB / 0.6985 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.6024, allocations: 107.4 kB / 0.6986 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003632/0.6061, allocations: 1.159 MB / 0.6997 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.6061, allocations: 5.344 kB / 0.6997 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6061, allocations: 0 / 0.6997 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.6061, allocations: 8.938 kB / 0.6997 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005612/0.6118, allocations: 2.149 MB / 0.7018 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.6118, allocations: 2.031 kB / 0.7018 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.612, allocations: 58.56 kB / 0.7019 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/0.6132, allocations: 330.2 kB / 0.7022 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.693e-05/0.6133, allocations: 14.22 kB / 0.7022 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/0.615, allocations: 0.9735 MB / 0.7032 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.615, allocations: 6.844 kB / 0.7032 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/0.6183, allocations: 1.187 MB / 0.7043 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006327/0.6189, allocations: 287.9 kB / 0.7046 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002875/0.6192, allocations: 8.844 kB / 0.7046 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009629/0.6202, allocations: 103.2 kB / 0.7047 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.6203, allocations: 36.39 kB / 0.7048 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.6204, allocations: 27.83 kB / 0.7048 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001379/0.6218, allocations: 0.7353 MB / 0.7055 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6218, allocations: 1 kB / 0.7055 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002204/0.624, allocations: 0.5689 MB / 0.7061 GB, free: 9.473 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 (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.004363/0.6284, allocations: 2.026 MB / 0.708 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002657/0.631, allocations: 1.042 MB / 0.7091 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.631, allocations: 0 / 0.7091 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007449/0.6318, allocations: 340.4 kB / 0.7094 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/0.6346, allocations: 0.5012 MB / 0.7099 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/0.6499, allocations: 6.443 MB / 0.7162 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007612/0.6507, allocations: 1.065 MB / 0.7172 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0012/0.6519, allocations: 225.6 kB / 0.7174 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005809/0.6525, allocations: 407.3 kB / 0.7178 GB, free: 15.38 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/0.6525, allocations: 0 / 0.7178 GB, free: 15.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06081/0.7133, allocations: 33.77 MB / 0.7508 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/0.7136, allocations: 284.5 kB / 0.7511 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/3.302, allocations: 0 / 0.7511 GB, free: 13.83 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: