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.8785/0.8785, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001138/0.001138, allocations: 180.6 kB / 182.2 MB, free: 9.449 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.582/1.582, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.001211/0.001211, allocations: 92.09 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001843/0.001843, allocations: 282.1 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.547e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.487/0.487, allocations: 82.77 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.93/1.417, allocations: 394 MB / 1.142 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.417, allocations: 86.77 kB / 1.142 GB, free: 3.383 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.941/3.359, allocations: 0.5556 GB / 1.698 GB, free: 18.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/3.359, allocations: 4 kB / 1.698 GB, free: 18.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001437/3.359, allocations: 43.98 kB / 1.698 GB, free: 18.87 MB / 0.698 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.003635/3.362, allocations: 1.902 MB / 1.7 GB, free: 16.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/3.362, allocations: 8.031 kB / 1.7 GB, free: 16.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00436/3.367, allocations: 0.6145 MB / 1.7 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003584/3.37, allocations: 1.786 MB / 1.702 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.602e-05/3.371, allocations: 87.97 kB / 1.702 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/3.371, allocations: 72 kB / 1.702 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001623/3.372, allocations: 1.016 MB / 1.703 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/3.374, allocations: 1.281 MB / 1.705 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/3.374, allocations: 3.938 kB / 1.705 GB, free: 11.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/3.374, allocations: 4 kB / 1.705 GB, free: 11.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-05/3.374, allocations: 58.11 kB / 1.705 GB, free: 11.81 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.007955/3.382, allocations: 6.499 MB / 1.711 GB, free: 5.027 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006732/3.383, allocations: 0.5044 MB / 1.711 GB, free: 4.512 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003804/3.383, allocations: 318.4 kB / 1.712 GB, free: 4.199 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009831/3.384, allocations: 1.267 MB / 1.713 GB, free: 2.656 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006017/3.385, allocations: 0.4998 MB / 1.713 GB, free: 2.094 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 2.515e-06/3.385, allocations: 0 / 1.713 GB, free: 2.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.002565/3.388, allocations: 0.9122 MB / 1.714 GB, free: 1.172 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/3.388, allocations: 475.2 kB / 1.715 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.49/3.878, allocations: 0.9818 MB / 1.716 GB, free: 104.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002821/3.878, allocations: 29.58 kB / 1.716 GB, free: 104.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/3.879, allocations: 0.7235 MB / 1.717 GB, free: 104.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004383/3.88, allocations: 224.7 kB / 1.717 GB, free: 104.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/3.88, allocations: 2.438 kB / 1.717 GB, free: 104.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001117/3.88, allocations: 339.3 kB / 1.717 GB, free: 104.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008098/3.881, allocations: 310.2 kB / 1.717 GB, free: 104.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/3.882, allocations: 0.6164 MB / 1.718 GB, free: 103.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/3.884, allocations: 0.4906 MB / 1.718 GB, free: 103.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/3.884, allocations: 5.531 kB / 1.718 GB, free: 103.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005296/3.889, allocations: 1.266 MB / 1.72 GB, free: 103.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005416/3.89, allocations: 2.487 MB / 1.722 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/3.89, allocations: 7.344 kB / 1.722 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007779/3.891, allocations: 276.4 kB / 1.722 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/3.892, allocations: 261.9 kB / 1.723 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/3.894, allocations: 0.8944 MB / 1.723 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/3.896, allocations: 242.6 kB / 1.724 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/3.896, allocations: 58.8 kB / 1.724 GB, free: 100.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/3.896, allocations: 6 kB / 1.724 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004381/3.901, allocations: 1.118 MB / 1.725 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/3.901, allocations: 4.234 kB / 1.725 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/3.901, allocations: 275.9 kB / 1.725 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/3.903, allocations: 265.2 kB / 1.725 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009703/3.904, allocations: 0.8929 MB / 1.726 GB, free: 99.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/3.906, allocations: 199.4 kB / 1.726 GB, free: 99.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/3.906, allocations: 55.09 kB / 1.727 GB, free: 99.94 MB / 0.698 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 () * 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.0004515/3.907, allocations: 134.8 kB / 1.727 GB, free: 99.83 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00295/3.91, allocations: 0.9105 MB / 1.728 GB, free: 99.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/3.91, allocations: 134.9 kB / 1.728 GB, free: 99.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003634/3.914, allocations: 0.9915 MB / 1.729 GB, free: 99.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/3.914, allocations: 12.84 kB / 1.729 GB, free: 99.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/3.914, allocations: 5.625 kB / 1.729 GB, free: 99.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002937/3.917, allocations: 0.8993 MB / 1.73 GB, free: 99.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006144/3.923, allocations: 3.169 MB / 1.733 GB, free: 98.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/3.923, allocations: 4.094 kB / 1.733 GB, free: 98.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009121/3.924, allocations: 164 kB / 1.733 GB, free: 98.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000514/3.924, allocations: 267.7 kB / 1.733 GB, free: 98.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/3.924, allocations: 20.75 kB / 1.733 GB, free: 98.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008933/3.925, allocations: 0.8861 MB / 1.734 GB, free: 97.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/3.925, allocations: 8.812 kB / 1.734 GB, free: 97.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003952/3.929, allocations: 1.814 MB / 1.736 GB, free: 97.22 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007292/3.93, allocations: 375.7 kB / 1.736 GB, free: 97.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/3.93, allocations: 10.73 kB / 1.736 GB, free: 97.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/3.932, allocations: 139.8 kB / 1.736 GB, free: 97.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/3.932, allocations: 65.16 kB / 1.736 GB, free: 97.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.013e-05/3.932, allocations: 39.42 kB / 1.736 GB, free: 97.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001228/3.933, allocations: 0.7495 MB / 1.737 GB, free: 96.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/3.933, allocations: 0 / 1.737 GB, free: 96.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003016/3.936, allocations: 0.991 MB / 1.738 GB, free: 96.89 MB / 0.698 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) * 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.005406/3.942, allocations: 4.191 MB / 1.742 GB, free: 94.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00242/3.944, allocations: 1.385 MB / 1.743 GB, free: 94.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/3.944, allocations: 0 / 1.743 GB, free: 94.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006372/3.945, allocations: 389.5 kB / 1.744 GB, free: 94.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/3.948, allocations: 0.5763 MB / 1.744 GB, free: 94.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006091/3.954, allocations: 2.377 MB / 1.747 GB, free: 93.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/3.955, allocations: 1.244 MB / 1.748 GB, free: 93.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00196/3.957, allocations: 418.3 kB / 1.748 GB, free: 93.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006253/3.957, allocations: 0.5394 MB / 1.749 GB, free: 93.05 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/3.957, allocations: 0 / 1.749 GB, free: 93.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0754/4.033, allocations: 45.96 MB / 1.794 GB, free: 91.19 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/4.033, allocations: 215 kB / 1.794 GB, free: 90.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.676/7.709, allocations: 3.906 kB / 1.794 GB, free: 90.9 MB / 0.698 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)