Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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.ReciprocatingWaterToWater_Static,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.0009996/0.0009995, allocations: 99.7 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.0009347/0.0009347, allocations: 177.3 kB / 15.94 MB, free: 228 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.435/1.435, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.043/1.043, allocations: 143.3 MB / 434.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 11.98 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1829, allocations: 83.41 MB / 0.5974 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.3748/0.5578, allocations: 58.51 MB / 0.6545 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01757/0.5754, allocations: 12.26 MB / 0.6665 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002646/0.5781, allocations: 61.66 kB / 0.6665 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003231/0.5813, allocations: 0.7886 MB / 0.6673 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009045/0.5904, allocations: 2.234 MB / 0.6695 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007092/0.5975, allocations: 1.887 MB / 0.6713 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007012/0.6045, allocations: 2.66 MB / 0.6739 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002666/0.6072, allocations: 1.168 MB / 0.675 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/0.6109, allocations: 1.265 MB / 0.6763 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/0.6129, allocations: 0.8161 MB / 0.6771 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002696/0.6132, allocations: 70.59 kB / 0.6771 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004012/0.6172, allocations: 1.165 MB / 0.6783 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004636/0.6177, allocations: 303.6 kB / 0.6786 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007387/0.6185, allocations: 397.7 kB / 0.679 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004441/0.6229, allocations: 2.576 MB / 0.6815 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6229, allocations: 0 / 0.6815 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6229, allocations: 4 kB / 0.6815 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.492e-05/0.623, allocations: 0 / 0.6815 GB, free: 7.723 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004606/0.6276, allocations: 1.917 MB / 0.6833 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.6277, allocations: 13.59 kB / 0.6834 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003272/0.628, allocations: 178.5 kB / 0.6835 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005103/0.6331, allocations: 0.6866 MB / 0.6842 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003213/0.6363, allocations: 1.454 MB / 0.6856 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.6365, allocations: 130.7 kB / 0.6857 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.6367, allocations: 116.5 kB / 0.6859 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004108/0.6408, allocations: 1.632 MB / 0.6874 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.6408, allocations: 1.344 kB / 0.6875 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.641, allocations: 52.91 kB / 0.6875 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-05/0.6411, allocations: 37.64 kB / 0.6875 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004774/0.6458, allocations: 1.465 MB / 0.689 GB, free: 3.953 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.01172/0.6576, allocations: 7.262 MB / 0.6961 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.6599, allocations: 0.8098 MB / 0.6969 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/0.6613, allocations: 1.269 MB / 0.6981 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.6614, allocations: 48.88 kB / 0.6981 GB, free: 13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.635e-06/0.6614, allocations: 0 / 0.6981 GB, free: 13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.009634/0.671, allocations: 2.203 MB / 0.7003 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.6711, allocations: 118.8 kB / 0.7004 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/0.6736, allocations: 1.406 MB / 0.7018 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001732/0.6738, allocations: 43.77 kB / 0.7018 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006307/0.6744, allocations: 0.6885 MB / 0.7025 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.6747, allocations: 234.8 kB / 0.7027 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.6748, allocations: 23.06 kB / 0.7027 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.6749, allocations: 337.9 kB / 0.7031 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.6767, allocations: 0.4886 MB / 0.7035 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/0.6787, allocations: 0.7636 MB / 0.7043 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.6806, allocations: 0.5424 MB / 0.7048 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.6806, allocations: 2.094 kB / 0.7048 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004708/0.6853, allocations: 1.545 MB / 0.7063 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008331/0.6862, allocations: 2.495 MB / 0.7088 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.6862, allocations: 6.188 kB / 0.7088 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/0.6878, allocations: 470.5 kB / 0.7092 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.6891, allocations: 255.2 kB / 0.7095 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.6905, allocations: 1.077 MB / 0.7105 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.6929, allocations: 276.1 kB / 0.7108 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.693, allocations: 53.58 kB / 0.7108 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.693, allocations: 6.812 kB / 0.7108 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004253/0.6973, allocations: 1.387 MB / 0.7122 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.6973, allocations: 9.469 kB / 0.7122 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.6987, allocations: 467 kB / 0.7126 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.6999, allocations: 265.9 kB / 0.7129 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.7013, allocations: 1.079 MB / 0.7139 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/0.7035, allocations: 248 kB / 0.7142 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.7036, allocations: 57.03 kB / 0.7142 GB, free: 2.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.7046, allocations: 444.4 kB / 0.7147 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.705, allocations: 146.5 kB / 0.7148 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003976/0.7089, allocations: 1.317 MB / 0.7161 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.709, allocations: 15.31 kB / 0.7161 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.709, allocations: 0 / 0.7161 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003384/0.7124, allocations: 1.135 MB / 0.7172 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008166/0.7205, allocations: 3.457 MB / 0.7206 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.7206, allocations: 4 kB / 0.7206 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008854/0.7215, allocations: 163.9 kB / 0.7207 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.7229, allocations: 443.1 kB / 0.7212 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.616e-05/0.7229, allocations: 23.97 kB / 0.7212 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.7244, allocations: 1.071 MB / 0.7222 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7244, allocations: 4 kB / 0.7222 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004031/0.7284, allocations: 1.622 MB / 0.7238 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009782/0.7294, allocations: 410.9 kB / 0.7242 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.7296, allocations: 16 kB / 0.7242 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/0.7312, allocations: 164.4 kB / 0.7244 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.7313, allocations: 60.31 kB / 0.7244 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.505e-05/0.7314, allocations: 39.95 kB / 0.7245 GB, free: 8.109 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001663/0.7331, allocations: 0.9966 MB / 0.7255 GB, free: 7.113 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.815e-06/0.7331, allocations: 0 / 0.7255 GB, free: 7.113 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002783/0.7359, allocations: 0.8967 MB / 0.7263 GB, free: 6.215 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.006034/0.742, allocations: 3.693 MB / 0.7299 GB, free: 2.402 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006035/0.748, allocations: 1.834 MB / 0.7317 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.748, allocations: 0 / 0.7317 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00172/0.7498, allocations: 0.5374 MB / 0.7323 GB, free: 36 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00376/0.7535, allocations: 0.7676 MB / 0.733 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009655/0.7632, allocations: 8.158 MB / 0.741 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.7642, allocations: 1.231 MB / 0.7422 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001822/0.7661, allocations: 354.7 kB / 0.7425 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000768/0.7669, allocations: 0.5617 MB / 0.7431 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of SimCode: time 1.093e-06/0.7669, allocations: 0 / 0.7431 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0867/0.8536, allocations: 49.5 MB / 0.7914 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00029/0.8539, allocations: 284.4 kB / 0.7917 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.04/3.894, allocations: 0 / 0.7917 GB, free: 3.602 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1) Environment - environmentSimulation: