Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8091/0.8091, allocations: 143.4 MB / 158.3 MB, free: 5.773 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.001185/0.001185, allocations: 187.4 kB / 191.5 MB, free: 5.754 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.728/1.728, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.000856/0.0008561, allocations: 96.25 kB / 0.5188 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001681/0.001681, allocations: 264.6 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004788, allocations: 10.78 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1813, allocations: 82.8 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.427, allocations: 394.1 MB / 1.159 GB, free: 252.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/1.428, allocations: 101.4 kB / 1.159 GB, free: 252.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.811/3.239, allocations: 0.5596 GB / 1.718 GB, free: 99.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.062e-06/3.239, allocations: 2.719 kB / 1.718 GB, free: 99.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001449/3.239, allocations: 41.89 kB / 1.718 GB, free: 99.44 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004416/3.244, allocations: 2.118 MB / 1.72 GB, free: 98.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/3.244, allocations: 10.25 kB / 1.72 GB, free: 98.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004481/3.248, allocations: 0.6076 MB / 1.721 GB, free: 98.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/3.252, allocations: 1.775 MB / 1.723 GB, free: 98.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/3.252, allocations: 133.5 kB / 1.723 GB, free: 98.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/3.252, allocations: 118.2 kB / 1.723 GB, free: 98.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003555/3.256, allocations: 1.62 MB / 1.725 GB, free: 97.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/3.256, allocations: 0 / 1.725 GB, free: 97.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/3.256, allocations: 52 kB / 1.725 GB, free: 97.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-05/3.256, allocations: 54.23 kB / 1.725 GB, free: 97.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00441/3.26, allocations: 1.43 MB / 1.726 GB, free: 97.91 MB / 0.698 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.01089/3.271, allocations: 6.986 MB / 1.733 GB, free: 94.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/3.273, allocations: 0.7378 MB / 1.734 GB, free: 94.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/3.275, allocations: 1.265 MB / 1.735 GB, free: 93.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/3.275, allocations: 45.69 kB / 1.735 GB, free: 93.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=64): time 4.469e-06/3.275, allocations: 0 / 1.735 GB, free: 93.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=64): time 0.01116/3.286, allocations: 2.384 MB / 1.737 GB, free: 93.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/3.286, allocations: 110.4 kB / 1.737 GB, free: 92.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/3.289, allocations: 1.272 MB / 1.739 GB, free: 92.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001786/3.289, allocations: 43.42 kB / 1.739 GB, free: 92.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000663/3.29, allocations: 0.7006 MB / 1.739 GB, free: 92.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/3.29, allocations: 221 kB / 1.739 GB, free: 92.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/3.29, allocations: 18.06 kB / 1.739 GB, free: 92.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.488e-05/3.29, allocations: 338.2 kB / 1.74 GB, free: 92.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/3.292, allocations: 475.4 kB / 1.74 GB, free: 92.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/3.294, allocations: 0.7507 MB / 1.741 GB, free: 91.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/3.296, allocations: 0.5155 MB / 1.741 GB, free: 91.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/3.296, allocations: 3.094 kB / 1.741 GB, free: 91.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004794/3.301, allocations: 1.472 MB / 1.743 GB, free: 91.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005257/3.301, allocations: 2.496 MB / 1.745 GB, free: 89.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/3.301, allocations: 7.156 kB / 1.745 GB, free: 89.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/3.303, allocations: 456.1 kB / 1.746 GB, free: 89.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/3.304, allocations: 244 kB / 1.746 GB, free: 89.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/3.305, allocations: 1.076 MB / 1.747 GB, free: 88.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/3.308, allocations: 273.9 kB / 1.747 GB, free: 88.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/3.308, allocations: 56.84 kB / 1.747 GB, free: 88.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/3.308, allocations: 3.906 kB / 1.747 GB, free: 88.45 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00439/3.313, allocations: 1.319 MB / 1.749 GB, free: 88.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/3.313, allocations: 9.781 kB / 1.749 GB, free: 88.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/3.314, allocations: 461.1 kB / 1.749 GB, free: 88.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/3.316, allocations: 241.7 kB / 1.749 GB, free: 88.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/3.317, allocations: 1.068 MB / 1.75 GB, free: 87.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/3.32, allocations: 236.9 kB / 1.751 GB, free: 87.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/3.32, allocations: 51.94 kB / 1.751 GB, free: 87.83 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: 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 (74): * Single equations (assignments): 73 * 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.001101/3.321, allocations: 454.5 kB / 1.751 GB, free: 87.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004945/3.321, allocations: 145.8 kB / 1.751 GB, free: 87.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004019/3.325, allocations: 1.225 MB / 1.752 GB, free: 87.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/3.325, allocations: 7.281 kB / 1.752 GB, free: 87.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/3.325, allocations: 3.938 kB / 1.752 GB, free: 87.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003269/3.329, allocations: 1.102 MB / 1.754 GB, free: 87.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008314/3.337, allocations: 3.306 MB / 1.757 GB, free: 86.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/3.337, allocations: 6.219 kB / 1.757 GB, free: 86.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009594/3.338, allocations: 151.8 kB / 1.757 GB, free: 86.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/3.34, allocations: 450.9 kB / 1.757 GB, free: 86.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.546e-05/3.34, allocations: 24.31 kB / 1.757 GB, free: 86.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/3.341, allocations: 1.06 MB / 1.758 GB, free: 85.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/3.341, allocations: 3.625 kB / 1.758 GB, free: 85.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004105/3.345, allocations: 1.563 MB / 1.76 GB, free: 85.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/3.346, allocations: 389.7 kB / 1.76 GB, free: 85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005316/3.347, allocations: 17 kB / 1.76 GB, free: 85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/3.349, allocations: 140.8 kB / 1.76 GB, free: 85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/3.349, allocations: 54.95 kB / 1.761 GB, free: 84.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/3.349, allocations: 40.3 kB / 1.761 GB, free: 84.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002179/3.351, allocations: 0.9969 MB / 1.762 GB, free: 84.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/3.351, allocations: 0 / 1.762 GB, free: 84.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004458/3.356, allocations: 0.9831 MB / 1.762 GB, free: 84.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (40): * Single equations (assignments): 37 * 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.002379/3.358, allocations: 0.8801 MB / 1.763 GB, free: 84.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006616/3.365, allocations: 1.74 MB / 1.765 GB, free: 84.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/3.365, allocations: 0 / 1.765 GB, free: 84.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001908/3.367, allocations: 0.5162 MB / 1.766 GB, free: 84.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004152/3.371, allocations: 0.7807 MB / 1.766 GB, free: 84.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006999/3.378, allocations: 2.963 MB / 1.769 GB, free: 83.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009142/3.379, allocations: 1.237 MB / 1.77 GB, free: 82.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00221/3.381, allocations: 337.1 kB / 1.771 GB, free: 82.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/3.382, allocations: 118.2 kB / 1.771 GB, free: 82.37 MB / 0.698 GB Notification: Performance of SimCode: time 1.192e-06/3.382, allocations: 0 / 1.771 GB, free: 82.37 MB / 0.698 GB Notification: Performance of Templates: time 0.05976/3.442, allocations: 39.44 MB / 1.809 GB, free: 80.32 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)