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.8606/0.8606, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.001166/0.001165, allocations: 176.1 kB / 191.5 MB, free: 5.758 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.552/1.552, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0008776/0.0008777, allocations: 92.31 kB / 0.5188 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001679, allocations: 266 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004354, allocations: 18.66 kB / 0.6929 GB, free: 59.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1752, allocations: 82.79 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.278/1.454, allocations: 394.7 MB / 1.159 GB, free: 266.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/1.454, allocations: 103.7 kB / 1.159 GB, free: 266.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.497/2.951, allocations: 0.56 GB / 1.719 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.272e-06/2.951, allocations: 0 / 1.719 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002303/2.951, allocations: 43.98 kB / 1.719 GB, free: 8.078 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.006095/2.957, allocations: 2.174 MB / 1.721 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/2.957, allocations: 8.031 kB / 1.721 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005095/2.963, allocations: 0.6184 MB / 1.722 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004459/2.967, allocations: 1.794 MB / 1.724 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/2.967, allocations: 131.9 kB / 1.724 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003793/2.968, allocations: 116 kB / 1.724 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004042/2.972, allocations: 1.632 MB / 1.726 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/2.972, allocations: 7.906 kB / 1.726 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/2.972, allocations: 52 kB / 1.726 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.493e-05/2.972, allocations: 50.11 kB / 1.726 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4129/3.385, allocations: 1.463 MB / 1.727 GB, free: 104.7 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.01137/3.396, allocations: 6.752 MB / 1.734 GB, free: 102 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/3.399, allocations: 0.7307 MB / 1.734 GB, free: 102 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/3.4, allocations: 1.271 MB / 1.736 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002033/3.402, allocations: 0.6728 MB / 1.736 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=65): time 4.318e-06/3.402, allocations: 0 / 1.736 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65): time 0.01168/3.414, allocations: 2.305 MB / 1.739 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/3.414, allocations: 483.4 kB / 1.739 GB, free: 99.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002507/3.416, allocations: 1.282 MB / 1.74 GB, free: 99.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002071/3.416, allocations: 47.47 kB / 1.74 GB, free: 99.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007139/3.417, allocations: 0.7088 MB / 1.741 GB, free: 99.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/3.417, allocations: 224.6 kB / 1.741 GB, free: 99.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/3.418, allocations: 17.44 kB / 1.741 GB, free: 99.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001023/3.418, allocations: 340.7 kB / 1.742 GB, free: 98.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/3.42, allocations: 0.4989 MB / 1.742 GB, free: 98.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/3.422, allocations: 0.8177 MB / 1.743 GB, free: 98.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/3.423, allocations: 0.5815 MB / 1.743 GB, free: 98.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/3.424, allocations: 6.453 kB / 1.743 GB, free: 98.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006921/3.43, allocations: 1.634 MB / 1.745 GB, free: 98.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005093/3.431, allocations: 2.526 MB / 1.748 GB, free: 95.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/3.431, allocations: 6 kB / 1.748 GB, free: 95.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/3.432, allocations: 371.1 kB / 1.748 GB, free: 95.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/3.434, allocations: 261 kB / 1.748 GB, free: 95.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/3.435, allocations: 0.9033 MB / 1.749 GB, free: 95.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/3.438, allocations: 291.2 kB / 1.749 GB, free: 95.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/3.438, allocations: 59.36 kB / 1.749 GB, free: 95.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/3.438, allocations: 3.562 kB / 1.749 GB, free: 95.1 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006358/3.445, allocations: 1.49 MB / 1.751 GB, free: 95.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/3.445, allocations: 10.97 kB / 1.751 GB, free: 95.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/3.446, allocations: 367.4 kB / 1.751 GB, free: 95.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/3.447, allocations: 266.3 kB / 1.751 GB, free: 95.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/3.448, allocations: 0.9002 MB / 1.752 GB, free: 94.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/3.451, allocations: 251.4 kB / 1.753 GB, free: 94.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/3.451, allocations: 57.05 kB / 1.753 GB, free: 94.48 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.001082/3.452, allocations: 456.2 kB / 1.753 GB, free: 94.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/3.453, allocations: 158.8 kB / 1.753 GB, free: 94.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005149/3.458, allocations: 1.259 MB / 1.754 GB, free: 94.13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/3.458, allocations: 7.906 kB / 1.754 GB, free: 94.13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/3.458, allocations: 2.812 kB / 1.754 GB, free: 94.13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004449/3.462, allocations: 1.134 MB / 1.756 GB, free: 93.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009001/3.471, allocations: 3.598 MB / 1.759 GB, free: 92.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/3.471, allocations: 3.438 kB / 1.759 GB, free: 92.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/3.472, allocations: 162.2 kB / 1.759 GB, free: 92.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/3.474, allocations: 365 kB / 1.76 GB, free: 92.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.848e-05/3.474, allocations: 29.28 kB / 1.76 GB, free: 92.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009585/3.475, allocations: 0.8905 MB / 1.76 GB, free: 92.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/3.475, allocations: 7.594 kB / 1.76 GB, free: 92.33 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006736/3.482, allocations: 2.289 MB / 1.763 GB, free: 91.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/3.483, allocations: 389.3 kB / 1.763 GB, free: 91.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/3.483, allocations: 20.56 kB / 1.763 GB, free: 91.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/3.485, allocations: 156.8 kB / 1.763 GB, free: 91.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/3.485, allocations: 74.08 kB / 1.763 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.353e-05/3.485, allocations: 39.27 kB / 1.763 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001582/3.486, allocations: 1.022 MB / 1.764 GB, free: 91.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.172e-06/3.486, allocations: 0 / 1.764 GB, free: 91.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002999/3.489, allocations: 0.9947 MB / 1.765 GB, free: 91.24 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.00163/3.491, allocations: 0.8905 MB / 1.766 GB, free: 91.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006011/3.497, allocations: 1.928 MB / 1.768 GB, free: 90.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/3.497, allocations: 5.078 kB / 1.768 GB, free: 90.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/3.499, allocations: 0.5556 MB / 1.769 GB, free: 90.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/3.502, allocations: 0.787 MB / 1.769 GB, free: 90.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005587/3.508, allocations: 3.156 MB / 1.772 GB, free: 89.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/3.509, allocations: 1.24 MB / 1.774 GB, free: 88.83 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001909/3.51, allocations: 379.1 kB / 1.774 GB, free: 88.81 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/3.511, allocations: 134.8 kB / 1.774 GB, free: 88.8 MB / 0.7136 GB Notification: Performance of SimCode: time 7.61e-07/3.511, allocations: 3.391 kB / 1.774 GB, free: 88.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.05716/3.568, allocations: 39.96 MB / 1.813 GB, free: 87.04 MB / 0.7136 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)