Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002541/0.002545, allocations: 356.1 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.439/1.439, allocations: 165.8 MB / 183.1 MB, free: 5.422 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.675/3.675, allocations: 410.8 MB / 0.6001 GB, free: 15.18 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00179/0.00179, allocations: 182.1 kB / 0.6668 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004741, allocations: 16 kB / 0.7429 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4028, allocations: 67.44 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/1.703, allocations: 383.1 MB / 1.183 GB, free: 157.1 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/1.703, allocations: 97.94 kB / 1.183 GB, free: 157.1 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.563/4.267, allocations: 0.5403 GB / 1.723 GB, free: 77.73 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.405e-06/4.267, allocations: 0 / 1.723 GB, free: 77.73 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001886/4.267, allocations: 40.41 kB / 1.723 GB, free: 77.73 MB / 0.573 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.007029/4.274, allocations: 2.165 MB / 1.725 GB, free: 76.13 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/4.274, allocations: 7.938 kB / 1.725 GB, free: 76.13 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008075/4.282, allocations: 0.6204 MB / 1.726 GB, free: 75.89 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005373/4.288, allocations: 1.741 MB / 1.728 GB, free: 74.59 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/4.288, allocations: 125.2 kB / 1.728 GB, free: 74.52 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000375/4.288, allocations: 123.3 kB / 1.728 GB, free: 74.48 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006612/4.295, allocations: 1.638 MB / 1.729 GB, free: 73.42 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-05/4.295, allocations: 3.938 kB / 1.729 GB, free: 73.42 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/4.295, allocations: 54.92 kB / 1.73 GB, free: 73.38 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/4.296, allocations: 31.59 kB / 1.73 GB, free: 73.38 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008599/4.304, allocations: 1.464 MB / 1.731 GB, free: 72.67 MB / 0.573 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.01565/4.32, allocations: 6.745 MB / 1.738 GB, free: 65.86 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004044/4.324, allocations: 0.7715 MB / 1.738 GB, free: 65.07 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002996/4.327, allocations: 0.5022 MB / 1.739 GB, free: 64.57 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/4.329, allocations: 1.271 MB / 1.74 GB, free: 63.02 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003416/4.332, allocations: 0.6597 MB / 1.741 GB, free: 62.32 MB / 0.573 GB Notification: Performance of pre-optimization done (n=69): time 3.878e-06/4.332, allocations: 0 / 1.741 GB, free: 62.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=69): time 0.02041/4.352, allocations: 2.331 MB / 1.743 GB, free: 59.96 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/4.353, allocations: 321 kB / 1.743 GB, free: 59.58 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003179/4.356, allocations: 1.364 MB / 1.745 GB, free: 58.2 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002952/4.356, allocations: 45.7 kB / 1.745 GB, free: 58.15 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007172/4.357, allocations: 0.7035 MB / 1.745 GB, free: 57.45 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/4.357, allocations: 238.4 kB / 1.746 GB, free: 57.21 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/4.357, allocations: 16 kB / 1.746 GB, free: 57.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/4.357, allocations: 341.9 kB / 1.746 GB, free: 56.86 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003512/4.361, allocations: 0.5016 MB / 1.746 GB, free: 56.36 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003802/4.365, allocations: 0.8109 MB / 1.747 GB, free: 55.42 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003635/4.369, allocations: 0.5769 MB / 1.748 GB, free: 54.84 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/4.369, allocations: 4 kB / 1.748 GB, free: 54.84 MB / 0.573 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01137/4.38, allocations: 1.64 MB / 1.749 GB, free: 53.18 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000171/4.38, allocations: 302.1 kB / 1.75 GB, free: 52.79 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/4.38, allocations: 8 kB / 1.75 GB, free: 52.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002066/4.382, allocations: 378.4 kB / 1.75 GB, free: 52.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002802/4.385, allocations: 263.6 kB / 1.75 GB, free: 52.16 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/4.387, allocations: 0.8969 MB / 1.751 GB, free: 51.24 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004595/4.391, allocations: 274.7 kB / 1.751 GB, free: 50.97 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/4.392, allocations: 63.84 kB / 1.751 GB, free: 50.91 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/4.392, allocations: 4 kB / 1.751 GB, free: 50.91 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01084/4.403, allocations: 1.49 MB / 1.753 GB, free: 49.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/4.403, allocations: 11.88 kB / 1.753 GB, free: 49.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/4.405, allocations: 363.7 kB / 1.753 GB, free: 49.04 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/4.407, allocations: 263.6 kB / 1.754 GB, free: 48.78 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/4.409, allocations: 0.9054 MB / 1.754 GB, free: 47.85 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004258/4.414, allocations: 249.6 kB / 1.755 GB, free: 47.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/4.414, allocations: 55.95 kB / 1.755 GB, free: 47.55 MB / 0.573 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.001242/4.415, allocations: 454 kB / 1.755 GB, free: 47.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004891/4.416, allocations: 146.2 kB / 1.755 GB, free: 46.96 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009039/4.425, allocations: 1.329 MB / 1.757 GB, free: 45.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/4.425, allocations: 8 kB / 1.757 GB, free: 45.59 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/4.425, allocations: 3.953 kB / 1.757 GB, free: 45.59 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008031/4.433, allocations: 1.138 MB / 1.758 GB, free: 44.42 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/4.446, allocations: 3.332 MB / 1.761 GB, free: 40.97 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/4.446, allocations: 7.469 kB / 1.761 GB, free: 40.97 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/4.448, allocations: 168.1 kB / 1.761 GB, free: 40.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001908/4.45, allocations: 360.1 kB / 1.761 GB, free: 40.45 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/4.45, allocations: 35.92 kB / 1.762 GB, free: 40.42 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/4.451, allocations: 0.8976 MB / 1.762 GB, free: 39.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/4.451, allocations: 11.94 kB / 1.762 GB, free: 39.49 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/4.463, allocations: 2.057 MB / 1.764 GB, free: 37.36 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/4.464, allocations: 394.7 kB / 1.765 GB, free: 36.95 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003801/4.465, allocations: 20 kB / 1.765 GB, free: 36.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003218/4.468, allocations: 155.9 kB / 1.765 GB, free: 36.78 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/4.468, allocations: 72.23 kB / 1.765 GB, free: 36.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/4.468, allocations: 43.95 kB / 1.765 GB, free: 36.66 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00245/4.471, allocations: 0.9743 MB / 1.766 GB, free: 35.69 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.01e-07/4.471, allocations: 0 / 1.766 GB, free: 35.69 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004085/4.475, allocations: 0.9503 MB / 1.767 GB, free: 34.74 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 46 * 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.002165/4.477, allocations: 0.842 MB / 1.768 GB, free: 34.01 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01109/4.488, allocations: 1.929 MB / 1.77 GB, free: 32.06 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/4.488, allocations: 8.062 kB / 1.77 GB, free: 32.05 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003438/4.492, allocations: 0.5637 MB / 1.77 GB, free: 31.48 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006911/4.499, allocations: 0.8074 MB / 1.771 GB, free: 30.72 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009084/4.508, allocations: 3.185 MB / 1.774 GB, free: 27.47 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007769/4.509, allocations: 1.246 MB / 1.775 GB, free: 26.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003013/4.512, allocations: 370.4 kB / 1.776 GB, free: 25.86 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005556/4.512, allocations: 127.3 kB / 1.776 GB, free: 25.73 MB / 0.573 GB Notification: Performance of SimCode: time 9.21e-07/4.512, allocations: 0 / 1.776 GB, free: 25.73 MB / 0.573 GB Notification: Performance of Templates: time 0.09298/4.605, allocations: 39.23 MB / 1.814 GB, free: 3.203 MB / 0.5886 GB