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.0009365/0.0009364, allocations: 97.97 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.001014/0.001014, allocations: 177.3 kB / 15.95 MB, free: 216 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.37/1.37, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.026/1.026, allocations: 143.3 MB / 434.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005291/0.0005292, allocations: 8 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2049, allocations: 83.41 MB / 0.5973 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.3939/0.5989, allocations: 51.28 MB / 0.6474 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01243/0.6114, allocations: 10.34 MB / 0.6575 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.6134, allocations: 50.03 kB / 0.6576 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.6154, allocations: 0.6325 MB / 0.6582 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005831/0.6212, allocations: 1.948 MB / 0.6601 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003908/0.6252, allocations: 1.311 MB / 0.6614 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004517/0.6297, allocations: 1.85 MB / 0.6632 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.6316, allocations: 0.8043 MB / 0.664 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.6347, allocations: 0.9886 MB / 0.6649 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/0.6365, allocations: 0.5956 MB / 0.6655 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002554/0.6367, allocations: 41.31 kB / 0.6655 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003604/0.6403, allocations: 1.003 MB / 0.6665 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002813/0.6406, allocations: 199.8 kB / 0.6667 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006284/0.6413, allocations: 285.6 kB / 0.667 GB, free: 316 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.6444, allocations: 1.681 MB / 0.6686 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.6444, allocations: 0 / 0.6686 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.615e-06/0.6444, allocations: 1.5 kB / 0.6686 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.844e-05/0.6444, allocations: 4 kB / 0.6686 GB, free: 15.9 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.003476/0.6479, allocations: 1.489 MB / 0.6701 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.648, allocations: 10.61 kB / 0.6701 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002034/0.6482, allocations: 124.5 kB / 0.6702 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.6501, allocations: 388.6 kB / 0.6706 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.6526, allocations: 1.045 MB / 0.6716 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000411/0.653, allocations: 132.1 kB / 0.6717 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.6531, allocations: 87.2 kB / 0.6718 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.6554, allocations: 0.9573 MB / 0.6728 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.6554, allocations: 0 / 0.6728 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.6555, allocations: 33.16 kB / 0.6728 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.6555, allocations: 18.91 kB / 0.6728 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.658, allocations: 0.8505 MB / 0.6736 GB, free: 13.24 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.009024/0.667, allocations: 4.828 MB / 0.6783 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.6689, allocations: 0.6026 MB / 0.6789 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001787/0.6707, allocations: 1.386 MB / 0.6803 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.6708, allocations: 43.34 kB / 0.6803 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.565e-06/0.6708, allocations: 0 / 0.6803 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.009419/0.6802, allocations: 2.032 MB / 0.6823 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.6803, allocations: 59.53 kB / 0.6824 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.6826, allocations: 1.061 MB / 0.6834 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.6827, allocations: 37.83 kB / 0.6834 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005488/0.6833, allocations: 0.5224 MB / 0.684 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.6835, allocations: 152.4 kB / 0.6841 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.6835, allocations: 10.75 kB / 0.6841 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.6837, allocations: 325.9 kB / 0.6844 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008536/0.6846, allocations: 282.4 kB / 0.6847 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.6856, allocations: 494 kB / 0.6852 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009766/0.6866, allocations: 334.4 kB / 0.6855 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.6866, allocations: 1.219 kB / 0.6855 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004214/0.6908, allocations: 1.151 MB / 0.6866 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009183/0.6918, allocations: 1.577 MB / 0.6881 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.6918, allocations: 5.859 kB / 0.6882 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.6933, allocations: 330.8 kB / 0.6885 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/0.6939, allocations: 120 kB / 0.6886 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.6957, allocations: 0.9321 MB / 0.6895 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.6975, allocations: 187.2 kB / 0.6897 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.6977, allocations: 32.38 kB / 0.6897 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.6977, allocations: 3.031 kB / 0.6897 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003645/0.7013, allocations: 1.009 MB / 0.6907 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.7014, allocations: 4.578 kB / 0.6907 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.7027, allocations: 324.7 kB / 0.691 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/0.7032, allocations: 114.7 kB / 0.6911 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.705, allocations: 0.9308 MB / 0.692 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.7068, allocations: 153.5 kB / 0.6922 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.373e-05/0.7069, allocations: 31.91 kB / 0.6922 GB, free: 1.453 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.001119/0.708, allocations: 352.1 kB / 0.6925 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.7083, allocations: 112 kB / 0.6926 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004254/0.7126, allocations: 1.158 MB / 0.6938 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.7126, allocations: 6.25 kB / 0.6938 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.7127, allocations: 1.891 kB / 0.6938 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.7127, allocations: 1.922 kB / 0.6938 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006065/0.7188, allocations: 2.179 MB / 0.6959 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.7188, allocations: 1.406 kB / 0.6959 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.719, allocations: 50.73 kB / 0.696 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.7202, allocations: 333.3 kB / 0.6963 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.7202, allocations: 17.14 kB / 0.6963 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.7219, allocations: 0.9683 MB / 0.6972 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/0.722, allocations: 10.92 kB / 0.6972 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004029/0.726, allocations: 1.308 MB / 0.6985 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008634/0.7269, allocations: 278.7 kB / 0.6988 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.727, allocations: 13.09 kB / 0.6988 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009009/0.728, allocations: 101.5 kB / 0.6989 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.854e-05/0.7281, allocations: 42.53 kB / 0.6989 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.433e-05/0.7281, allocations: 24 kB / 0.699 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001499/0.7296, allocations: 0.7483 MB / 0.6997 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7296, allocations: 0 / 0.6997 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002068/0.7317, allocations: 0.5724 MB / 0.7003 GB, free: 13.6 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.005513/0.7372, allocations: 2.77 MB / 0.703 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003397/0.7407, allocations: 1.044 MB / 0.704 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.7407, allocations: 0 / 0.704 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008927/0.7416, allocations: 333 kB / 0.7043 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/0.7446, allocations: 492.5 kB / 0.7048 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007252/0.7518, allocations: 5.512 MB / 0.7101 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008358/0.7527, allocations: 1.084 MB / 0.7112 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001212/0.7539, allocations: 224 kB / 0.7114 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005844/0.7545, allocations: 414.6 kB / 0.7118 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/0.7545, allocations: 0 / 0.7118 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06518/0.8197, allocations: 33.48 MB / 0.7445 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/0.82, allocations: 285.4 kB / 0.7448 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.442, allocations: 0 / 0.7448 GB, free: 3.922 MB / 0.5606 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: