Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7756/0.7756, allocations: 141.8 MB / 149.3 MB, free: 9.199 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.001083/0.001083, allocations: 192.6 kB / 182.2 MB, free: 9.441 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.356/1.356, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009494/0.0009493, allocations: 80.12 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001744/0.001744, allocations: 282.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.633e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4345, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8197/1.254, allocations: 399.8 MB / 1.148 GB, free: 14.51 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003791/1.255, allocations: 98.8 kB / 1.148 GB, free: 14.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.914/7.169, allocations: 1.459 GB / 2.607 GB, free: 82.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.854e-06/7.169, allocations: 2.312 kB / 2.607 GB, free: 82.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0009375/7.17, allocations: 107.1 kB / 2.607 GB, free: 82.06 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.01283/7.182, allocations: 3.701 MB / 2.611 GB, free: 80.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/7.182, allocations: 7.562 kB / 2.611 GB, free: 80.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007159/7.19, allocations: 1.129 MB / 2.612 GB, free: 80.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06323/7.253, allocations: 28.78 MB / 2.64 GB, free: 78.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/7.253, allocations: 76.06 kB / 2.64 GB, free: 78.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/7.254, allocations: 146.8 kB / 2.64 GB, free: 78.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004531/7.259, allocations: 1.89 MB / 2.642 GB, free: 78.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005315/7.264, allocations: 2.27 MB / 2.644 GB, free: 78.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.728e-05/7.264, allocations: 2.156 kB / 2.644 GB, free: 78.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004045/7.265, allocations: 3.906 kB / 2.644 GB, free: 78.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/7.265, allocations: 49.56 kB / 2.644 GB, free: 78.16 MB / 0.7448 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.02135/7.286, allocations: 11.89 MB / 2.656 GB, free: 72.31 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002998/7.289, allocations: 1.998 MB / 2.658 GB, free: 72.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/7.29, allocations: 0.817 MB / 2.658 GB, free: 72.26 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008407/7.299, allocations: 4.07 MB / 2.662 GB, free: 70.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/7.299, allocations: 48.31 kB / 2.662 GB, free: 70.33 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002108/7.301, allocations: 171.2 kB / 2.663 GB, free: 70.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=119): time 5.931e-06/7.301, allocations: 0 / 2.663 GB, free: 70.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=119): time 0.008116/7.309, allocations: 2.714 MB / 2.665 GB, free: 69.94 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/7.309, allocations: 67.75 kB / 2.665 GB, free: 69.88 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006091/7.315, allocations: 2.593 MB / 2.668 GB, free: 69.58 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0007114/7.316, allocations: 29.27 kB / 2.668 GB, free: 69.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002017/7.318, allocations: 1.765 MB / 2.67 GB, free: 69.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008332/7.319, allocations: 400.3 kB / 2.67 GB, free: 68.79 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003981/7.319, allocations: 0 / 2.67 GB, free: 68.79 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001739/7.319, allocations: 382.2 kB / 2.67 GB, free: 68.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/7.321, allocations: 0.8196 MB / 2.671 GB, free: 68.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/7.323, allocations: 1.6 MB / 2.673 GB, free: 67.53 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004019/7.327, allocations: 1.218 MB / 2.674 GB, free: 67.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.151e-05/7.327, allocations: 4.156 kB / 2.674 GB, free: 67.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009839/7.337, allocations: 3.263 MB / 2.677 GB, free: 67.19 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002442/7.34, allocations: 8.074 MB / 2.685 GB, free: 58.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.741e-05/7.34, allocations: 20.12 kB / 2.685 GB, free: 58.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002339/7.342, allocations: 0.8432 MB / 2.686 GB, free: 58.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/7.344, allocations: 397.7 kB / 2.686 GB, free: 58.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004453/7.349, allocations: 5.834 MB / 2.692 GB, free: 54.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003662/7.352, allocations: 181.1 kB / 2.692 GB, free: 54.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006095/7.353, allocations: 181.3 kB / 2.692 GB, free: 54.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/7.353, allocations: 4.5 kB / 2.692 GB, free: 54.61 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007504/7.36, allocations: 2.731 MB / 2.695 GB, free: 54.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.674e-05/7.361, allocations: 17.56 kB / 2.695 GB, free: 54.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/7.363, allocations: 0.9917 MB / 2.696 GB, free: 54.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/7.365, allocations: 363.6 kB / 2.696 GB, free: 54.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/7.381, allocations: 13.69 MB / 2.71 GB, free: 46.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003557/7.385, allocations: 178.1 kB / 2.71 GB, free: 46.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000565/7.385, allocations: 149.5 kB / 2.71 GB, free: 46.47 MB / 0.7448 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001005/7.386, allocations: 174 kB / 2.71 GB, free: 46.35 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/7.387, allocations: 343.6 kB / 2.71 GB, free: 46.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008295/7.395, allocations: 2.812 MB / 2.713 GB, free: 45.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.147e-05/7.396, allocations: 19.86 kB / 2.713 GB, free: 45.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/7.396, allocations: 0 / 2.713 GB, free: 45.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/7.396, allocations: 11.8 kB / 2.713 GB, free: 45.93 MB / 0.7448 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 postOpt removeSimpleEquations (simulation): time 0.01351/7.409, allocations: 4.674 MB / 2.718 GB, free: 45.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/7.409, allocations: 0 / 2.718 GB, free: 45.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/7.41, allocations: 214.4 kB / 2.718 GB, free: 45.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/7.411, allocations: 0.5235 MB / 2.718 GB, free: 45.37 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/7.411, allocations: 29.91 kB / 2.719 GB, free: 45.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003081/7.415, allocations: 5.048 MB / 2.723 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/7.415, allocations: 1.562 kB / 2.723 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005902/7.421, allocations: 2.531 MB / 2.726 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002329/7.423, allocations: 0.5973 MB / 2.726 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001385/7.424, allocations: 6.016 kB / 2.726 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003244/7.428, allocations: 190.7 kB / 2.727 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/7.428, allocations: 93.5 kB / 2.727 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002179/7.428, allocations: 77.94 kB / 2.727 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004433/7.432, allocations: 1.936 MB / 2.729 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.5e-07/7.432, allocations: 0 / 2.729 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01039/7.443, allocations: 1.946 MB / 2.731 GB, free: 39.79 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004412/7.447, allocations: 2.311 MB / 2.733 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007508/7.455, allocations: 3.876 MB / 2.737 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/7.455, allocations: 4.062 kB / 2.737 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/7.456, allocations: 0.8154 MB / 2.737 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008425/7.465, allocations: 1.576 MB / 2.739 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/7.477, allocations: 4.475 MB / 2.743 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002249/7.479, allocations: 2.33 MB / 2.746 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00601/7.485, allocations: 1.261 MB / 2.747 GB, free: 36.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005427/7.485, allocations: 202.4 kB / 2.747 GB, free: 36.02 MB / 0.7448 GB Notification: Performance of SimCode: time 1.102e-06/7.485, allocations: 0 / 2.747 GB, free: 36.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.1312/7.617, allocations: 86.03 MB / 2.831 GB, free: 3.008 MB / 0.7605 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)