Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9339/0.9339, allocations: 143.3 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 173.1 kB / 191.5 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009555/0.0009553, allocations: 88.33 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001908/0.001908, allocations: 267.3 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.0004373, allocations: 13.81 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1901, allocations: 82.8 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.305/1.495, allocations: 394.7 MB / 1.159 GB, free: 266.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/1.496, allocations: 97.72 kB / 1.159 GB, free: 266.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.525/3.02, allocations: 0.56 GB / 1.719 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.104e-06/3.02, allocations: 0 / 1.719 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001429/3.02, allocations: 39.98 kB / 1.719 GB, free: 6.984 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004885/3.025, allocations: 2.171 MB / 1.721 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/3.025, allocations: 12.03 kB / 1.722 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00025/3.026, allocations: 181.4 kB / 1.722 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004232/3.03, allocations: 0.6183 MB / 1.722 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003829/3.034, allocations: 1.79 MB / 1.724 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/3.034, allocations: 128 kB / 1.724 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/3.034, allocations: 123.9 kB / 1.724 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003653/3.038, allocations: 1.639 MB / 1.726 GB, free: 84 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/3.038, allocations: 7.922 kB / 1.726 GB, free: 76 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/3.038, allocations: 52 kB / 1.726 GB, free: 24 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4879/3.526, allocations: 42.61 kB / 1.726 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005563/3.531, allocations: 1.469 MB / 1.727 GB, free: 104.4 MB / 0.7136 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.0116/3.543, allocations: 6.757 MB / 1.734 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/3.545, allocations: 0.7207 MB / 1.735 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/3.547, allocations: 1.267 MB / 1.736 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002053/3.549, allocations: 0.6787 MB / 1.737 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=65): time 4.077e-06/3.549, allocations: 2.75 kB / 1.737 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65): time 0.01179/3.56, allocations: 2.304 MB / 1.739 GB, free: 99.87 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002042/3.561, allocations: 481 kB / 1.739 GB, free: 99.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/3.563, allocations: 1.275 MB / 1.741 GB, free: 99.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001796/3.563, allocations: 50.23 kB / 1.741 GB, free: 99.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006731/3.564, allocations: 0.7137 MB / 1.741 GB, free: 98.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/3.564, allocations: 228.7 kB / 1.742 GB, free: 98.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/3.564, allocations: 18.66 kB / 1.742 GB, free: 98.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/3.565, allocations: 340.2 kB / 1.742 GB, free: 98.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/3.566, allocations: 0.4955 MB / 1.742 GB, free: 98.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/3.569, allocations: 0.8229 MB / 1.743 GB, free: 98.15 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/3.571, allocations: 0.5798 MB / 1.744 GB, free: 98.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/3.571, allocations: 3.844 kB / 1.744 GB, free: 98.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006837/3.578, allocations: 1.639 MB / 1.745 GB, free: 97.95 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006232/3.578, allocations: 2.524 MB / 1.748 GB, free: 95.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/3.578, allocations: 6.25 kB / 1.748 GB, free: 95.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/3.58, allocations: 374 kB / 1.748 GB, free: 95.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/3.582, allocations: 265.4 kB / 1.748 GB, free: 95.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/3.583, allocations: 0.9013 MB / 1.749 GB, free: 94.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/3.586, allocations: 287 kB / 1.75 GB, free: 94.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/3.586, allocations: 56.69 kB / 1.75 GB, free: 94.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/3.586, allocations: 4.094 kB / 1.75 GB, free: 94.81 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00658/3.593, allocations: 1.487 MB / 1.751 GB, free: 94.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/3.593, allocations: 10.19 kB / 1.751 GB, free: 94.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/3.594, allocations: 372.7 kB / 1.751 GB, free: 94.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/3.596, allocations: 261.9 kB / 1.752 GB, free: 94.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/3.597, allocations: 0.8991 MB / 1.753 GB, free: 94.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/3.601, allocations: 251.2 kB / 1.753 GB, free: 94.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/3.601, allocations: 59.08 kB / 1.753 GB, free: 94.18 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001463/3.602, allocations: 460 kB / 1.753 GB, free: 93.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007137/3.603, allocations: 155.1 kB / 1.753 GB, free: 93.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006028/3.609, allocations: 1.259 MB / 1.755 GB, free: 93.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.599e-05/3.609, allocations: 8.875 kB / 1.755 GB, free: 93.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/3.609, allocations: 6.156 kB / 1.755 GB, free: 93.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005142/3.614, allocations: 1.135 MB / 1.756 GB, free: 93.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/3.624, allocations: 3.588 MB / 1.759 GB, free: 92.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/3.624, allocations: 3.844 kB / 1.759 GB, free: 92.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/3.626, allocations: 165.2 kB / 1.759 GB, free: 92.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/3.627, allocations: 374.4 kB / 1.76 GB, free: 92.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.663e-05/3.627, allocations: 22 kB / 1.76 GB, free: 92.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/3.628, allocations: 0.9009 MB / 1.761 GB, free: 92.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/3.628, allocations: 5.344 kB / 1.761 GB, free: 92.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007327/3.635, allocations: 2.277 MB / 1.763 GB, free: 91.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/3.637, allocations: 396.5 kB / 1.763 GB, free: 91.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006996/3.637, allocations: 22.84 kB / 1.763 GB, free: 91.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/3.64, allocations: 153.6 kB / 1.763 GB, free: 91.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/3.64, allocations: 66.73 kB / 1.764 GB, free: 91.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/3.64, allocations: 36.64 kB / 1.764 GB, free: 91.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002389/3.642, allocations: 1.021 MB / 1.765 GB, free: 90.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.61e-07/3.642, allocations: 3.969 kB / 1.765 GB, free: 90.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00506/3.648, allocations: 1.001 MB / 1.766 GB, free: 90.95 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.009993/3.658, allocations: 4.591 MB / 1.77 GB, free: 88.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007176/3.665, allocations: 1.927 MB / 1.772 GB, free: 88.55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.748e-05/3.665, allocations: 3.906 kB / 1.772 GB, free: 88.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002103/3.667, allocations: 0.556 MB / 1.772 GB, free: 88.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004994/3.672, allocations: 0.7974 MB / 1.773 GB, free: 88.53 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02883/3.701, allocations: 13.72 MB / 1.787 GB, free: 81.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/3.702, allocations: 1.24 MB / 1.788 GB, free: 80.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002618/3.705, allocations: 383.1 kB / 1.788 GB, free: 80.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/3.706, allocations: 0.5717 MB / 1.789 GB, free: 80.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.613e-06/3.706, allocations: 1.719 kB / 1.789 GB, free: 80.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08622/3.792, allocations: 55.09 MB / 1.843 GB, free: 78.14 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/3.792, allocations: 285.1 kB / 1.843 GB, free: 77.79 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.862/7.654, allocations: 0 / 1.843 GB, free: 77.79 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)