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.8279/0.8279, allocations: 143.4 MB / 158.3 MB, free: 5.777 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.001022/0.001022, allocations: 180.1 kB / 191.5 MB, free: 5.75 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.436/1.436, allocations: 223.2 MB / 447.7 MB, free: 4.77 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.0008739/0.000874, allocations: 88.33 kB / 0.5188 GB, free: 1.129 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001847/0.001847, allocations: 274.7 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004429, allocations: 18.81 kB / 0.6929 GB, free: 59.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1826, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.08/1.263, allocations: 400.5 MB / 1.165 GB, free: 192.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.263, allocations: 98.98 kB / 1.165 GB, free: 192.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.839/7.102, allocations: 1.472 GB / 2.637 GB, free: 67.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.337e-06/7.102, allocations: 0 / 2.637 GB, free: 67.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001063/7.103, allocations: 104.5 kB / 2.637 GB, free: 67.39 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.02458/7.128, allocations: 5.675 MB / 2.643 GB, free: 65.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/7.128, allocations: 8.125 kB / 2.643 GB, free: 65.24 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008385/7.136, allocations: 1.128 MB / 2.644 GB, free: 64.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07179/7.208, allocations: 29.02 MB / 2.672 GB, free: 63.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/7.209, allocations: 181.5 kB / 2.672 GB, free: 63.31 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/7.21, allocations: 246.1 kB / 2.672 GB, free: 63.31 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008269/7.218, allocations: 2.69 MB / 2.675 GB, free: 62.94 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.023e-05/7.218, allocations: 7.688 kB / 2.675 GB, free: 62.94 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005557/7.219, allocations: 91.16 kB / 2.675 GB, free: 62.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-05/7.219, allocations: 49.06 kB / 2.675 GB, free: 62.94 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005558/7.225, allocations: 1.981 MB / 2.677 GB, free: 62.92 MB / 0.7448 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.02551/7.25, allocations: 12.32 MB / 2.689 GB, free: 56.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004493/7.255, allocations: 1.632 MB / 2.691 GB, free: 56.92 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009793/7.264, allocations: 4.132 MB / 2.695 GB, free: 55.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/7.265, allocations: 46.28 kB / 2.695 GB, free: 55 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002379/7.267, allocations: 228.7 kB / 2.695 GB, free: 54.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=119): time 1.03e-05/7.267, allocations: 0 / 2.695 GB, free: 54.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=119): time 0.01313/7.28, allocations: 4.007 MB / 2.699 GB, free: 53.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/7.28, allocations: 67 kB / 2.699 GB, free: 53.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007091/7.287, allocations: 2.976 MB / 2.702 GB, free: 53.47 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0006124/7.288, allocations: 59.55 kB / 2.702 GB, free: 53.44 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001998/7.29, allocations: 1.773 MB / 2.704 GB, free: 52.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007002/7.291, allocations: 407.1 kB / 2.704 GB, free: 52.72 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/7.291, allocations: 39.98 kB / 2.704 GB, free: 52.72 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001689/7.291, allocations: 381.9 kB / 2.705 GB, free: 52.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002087/7.293, allocations: 0.7651 MB / 2.705 GB, free: 52.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002579/7.296, allocations: 1.573 MB / 2.707 GB, free: 51.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/7.298, allocations: 0.9399 MB / 2.708 GB, free: 51.42 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-05/7.298, allocations: 3.875 kB / 2.708 GB, free: 51.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007417/7.306, allocations: 2.905 MB / 2.711 GB, free: 51.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001709/7.307, allocations: 8.15 MB / 2.719 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.896e-05/7.308, allocations: 19.03 kB / 2.719 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/7.31, allocations: 0.6718 MB / 2.719 GB, free: 42.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/7.311, allocations: 393.8 kB / 2.72 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/7.315, allocations: 5.161 MB / 2.725 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003922/7.319, allocations: 223.7 kB / 2.725 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005185/7.32, allocations: 178.8 kB / 2.725 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/7.32, allocations: 7.156 kB / 2.725 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007196/7.327, allocations: 2.933 MB / 2.728 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-05/7.327, allocations: 26.55 kB / 2.728 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003108/7.33, allocations: 1.092 MB / 2.729 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/7.332, allocations: 360 kB / 2.729 GB, free: 38.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01774/7.349, allocations: 14.45 MB / 2.743 GB, free: 29.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004254/7.354, allocations: 212.7 kB / 2.744 GB, free: 29.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007145/7.354, allocations: 152.5 kB / 2.744 GB, free: 29.66 MB / 0.7448 GB 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 () * Number of clocked 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.0031/7.358, allocations: 0.8754 MB / 2.745 GB, free: 29.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/7.359, allocations: 358.2 kB / 2.745 GB, free: 29.24 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/7.369, allocations: 3.079 MB / 2.748 GB, free: 28.92 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.525e-05/7.369, allocations: 17.09 kB / 2.748 GB, free: 28.92 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/7.369, allocations: 3.344 kB / 2.748 GB, free: 28.92 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/7.369, allocations: 12.67 kB / 2.748 GB, free: 28.92 MB / 0.7448 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 postOpt removeSimpleEquations (simulation): time 0.01558/7.385, allocations: 5.176 MB / 2.753 GB, free: 28.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/7.385, allocations: 3.438 kB / 2.753 GB, free: 28.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/7.386, allocations: 212.5 kB / 2.753 GB, free: 28.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001993/7.388, allocations: 0.6732 MB / 2.754 GB, free: 27.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/7.388, allocations: 46.88 kB / 2.754 GB, free: 27.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/7.392, allocations: 5.032 MB / 2.759 GB, free: 23.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/7.392, allocations: 3.562 kB / 2.759 GB, free: 23.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007704/7.399, allocations: 2.795 MB / 2.762 GB, free: 22.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002451/7.402, allocations: 0.6193 MB / 2.762 GB, free: 21.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001256/7.403, allocations: 30.09 kB / 2.762 GB, free: 21.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003365/7.406, allocations: 213.8 kB / 2.762 GB, free: 21.54 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/7.407, allocations: 98.69 kB / 2.763 GB, free: 21.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/7.407, allocations: 80.72 kB / 2.763 GB, free: 21.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.005603/7.412, allocations: 2.272 MB / 2.765 GB, free: 20.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.01e-07/7.413, allocations: 0 / 2.765 GB, free: 20.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01114/7.424, allocations: 2.035 MB / 2.767 GB, free: 20.19 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 () * Number of clocked 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.005013/7.429, allocations: 2.397 MB / 2.769 GB, free: 19.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01054/7.439, allocations: 3.963 MB / 2.773 GB, free: 17.71 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/7.439, allocations: 0 / 2.773 GB, free: 17.71 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002648/7.442, allocations: 0.9536 MB / 2.774 GB, free: 17.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009309/7.451, allocations: 1.694 MB / 2.776 GB, free: 17.03 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/7.468, allocations: 7.062 MB / 2.782 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004781/7.473, allocations: 2.319 MB / 2.785 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.006457/7.479, allocations: 0.8227 MB / 2.786 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/7.481, allocations: 265.2 kB / 2.786 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of SimCode: time 2.325e-06/7.481, allocations: 8 kB / 2.786 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of Templates: time 0.7493/8.23, allocations: 93.29 MB / 2.877 GB, free: 76.32 MB / 0.7761 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)