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: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8244/0.8244, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001311/0.001311, allocations: 171.8 kB / 182.2 MB, free: 9.473 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.566/1.566, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009311/0.0009311, allocations: 92.09 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001766, allocations: 284.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.859e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5305/0.5306, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.973/1.504, allocations: 394 MB / 1.142 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/1.504, allocations: 90.89 kB / 1.142 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.875/3.379, allocations: 0.5556 GB / 1.698 GB, free: 19.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.635e-06/3.379, allocations: 0 / 1.698 GB, free: 19.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002138/3.38, allocations: 43.92 kB / 1.698 GB, free: 19.16 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.004986/3.385, allocations: 1.898 MB / 1.7 GB, free: 17.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/3.385, allocations: 8.031 kB / 1.7 GB, free: 17.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004331/3.389, allocations: 0.6145 MB / 1.7 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003725/3.393, allocations: 1.786 MB / 1.702 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/3.393, allocations: 83.98 kB / 1.702 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00028/3.393, allocations: 72 kB / 1.702 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001928/3.395, allocations: 1.016 MB / 1.703 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/3.397, allocations: 1.281 MB / 1.704 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/3.397, allocations: 7.938 kB / 1.704 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/3.397, allocations: 0 / 1.704 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-05/3.398, allocations: 54.17 kB / 1.704 GB, free: 12.11 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.009093/3.407, allocations: 6.501 MB / 1.711 GB, free: 5.328 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/3.407, allocations: 0.5052 MB / 1.711 GB, free: 4.812 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/3.408, allocations: 318.4 kB / 1.712 GB, free: 4.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/3.409, allocations: 1.271 MB / 1.713 GB, free: 2.953 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006589/3.41, allocations: 0.4998 MB / 1.713 GB, free: 2.395 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 3.456e-06/3.41, allocations: 0 / 1.713 GB, free: 2.395 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.002839/3.412, allocations: 0.912 MB / 1.714 GB, free: 1.469 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/3.413, allocations: 475.2 kB / 1.715 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4496/3.862, allocations: 0.9827 MB / 1.716 GB, free: 104.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00046/3.863, allocations: 31.53 kB / 1.716 GB, free: 104.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/3.864, allocations: 0.7287 MB / 1.716 GB, free: 104.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/3.865, allocations: 221.1 kB / 1.717 GB, free: 104.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/3.865, allocations: 0 / 1.717 GB, free: 104.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001135/3.865, allocations: 341.6 kB / 1.717 GB, free: 104 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008027/3.866, allocations: 310.8 kB / 1.717 GB, free: 104 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009722/3.867, allocations: 0.6098 MB / 1.718 GB, free: 103.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/3.869, allocations: 0.4945 MB / 1.718 GB, free: 103.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/3.869, allocations: 5.422 kB / 1.718 GB, free: 103.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005308/3.874, allocations: 1.263 MB / 1.72 GB, free: 103.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005895/3.875, allocations: 2.49 MB / 1.722 GB, free: 101 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/3.875, allocations: 7.859 kB / 1.722 GB, free: 101 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00078/3.876, allocations: 271.3 kB / 1.722 GB, free: 101 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/3.877, allocations: 262.7 kB / 1.723 GB, free: 101 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/3.879, allocations: 0.8925 MB / 1.723 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/3.881, allocations: 237.4 kB / 1.724 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/3.881, allocations: 56.69 kB / 1.724 GB, free: 100.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/3.881, allocations: 6.344 kB / 1.724 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004399/3.886, allocations: 1.113 MB / 1.725 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/3.886, allocations: 6.719 kB / 1.725 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006298/3.887, allocations: 273.9 kB / 1.725 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/3.888, allocations: 269.4 kB / 1.725 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009661/3.889, allocations: 0.8902 MB / 1.726 GB, free: 99.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/3.891, allocations: 200.2 kB / 1.726 GB, free: 99.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/3.891, allocations: 57.38 kB / 1.726 GB, free: 99.82 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.0003821/3.892, allocations: 135.4 kB / 1.727 GB, free: 99.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/3.892, allocations: 129.8 kB / 1.727 GB, free: 99.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/3.896, allocations: 0.9965 MB / 1.728 GB, free: 99.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/3.896, allocations: 10.19 kB / 1.728 GB, free: 99.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/3.896, allocations: 3.156 kB / 1.728 GB, free: 99.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002928/3.899, allocations: 0.8988 MB / 1.729 GB, free: 99.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006225/3.905, allocations: 3.179 MB / 1.732 GB, free: 98.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/3.905, allocations: 3.281 kB / 1.732 GB, free: 98.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009482/3.906, allocations: 167.5 kB / 1.732 GB, free: 98.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005723/3.906, allocations: 267.1 kB / 1.732 GB, free: 98.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/3.907, allocations: 17.22 kB / 1.732 GB, free: 98.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009075/3.907, allocations: 0.8952 MB / 1.733 GB, free: 97.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/3.907, allocations: 9.344 kB / 1.733 GB, free: 97.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004086/3.912, allocations: 1.813 MB / 1.735 GB, free: 97.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007619/3.912, allocations: 370.4 kB / 1.735 GB, free: 97.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/3.913, allocations: 10.41 kB / 1.735 GB, free: 97.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/3.914, allocations: 134.1 kB / 1.735 GB, free: 97.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/3.914, allocations: 66.44 kB / 1.735 GB, free: 97.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.994e-05/3.914, allocations: 42.36 kB / 1.735 GB, free: 97.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001235/3.916, allocations: 0.747 MB / 1.736 GB, free: 96.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/3.916, allocations: 0 / 1.736 GB, free: 96.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003499/3.919, allocations: 0.9948 MB / 1.737 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.001609/3.921, allocations: 0.8848 MB / 1.738 GB, free: 96.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002414/3.923, allocations: 1.387 MB / 1.739 GB, free: 96.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/3.923, allocations: 0 / 1.739 GB, free: 96.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006836/3.924, allocations: 396.8 kB / 1.74 GB, free: 96.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/3.927, allocations: 0.5775 MB / 1.74 GB, free: 96.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004805/3.931, allocations: 2.021 MB / 1.742 GB, free: 95.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009057/3.932, allocations: 1.245 MB / 1.743 GB, free: 95.24 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002028/3.934, allocations: 409.6 kB / 1.744 GB, free: 95.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/3.935, allocations: 99.81 kB / 1.744 GB, free: 95.22 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/3.935, allocations: 0 / 1.744 GB, free: 95.22 MB / 0.698 GB Notification: Performance of Templates: time 0.04973/3.984, allocations: 34.11 MB / 1.777 GB, free: 93.8 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)