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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.9701/0.9701, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 177.1 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 426.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000753/0.000753, allocations: 94.41 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001675/0.001675, allocations: 261.5 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.0004672, allocations: 24 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3615, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7086/1.07, allocations: 412.3 MB / 1.142 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003602/1.071, allocations: 93.52 kB / 1.142 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.45/6.52, allocations: 1.437 GB / 2.58 GB, free: 81.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.847e-06/6.521, allocations: 1.438 kB / 2.58 GB, free: 81.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0007215/6.521, allocations: 117.3 kB / 2.58 GB, free: 81.62 MB / 0.7292 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.01866/6.54, allocations: 5.606 MB / 2.585 GB, free: 79.53 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/6.54, allocations: 10 kB / 2.585 GB, free: 79.53 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007337/6.547, allocations: 1.12 MB / 2.586 GB, free: 79.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06104/6.608, allocations: 27.16 MB / 2.613 GB, free: 77.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003387/6.609, allocations: 190.5 kB / 2.613 GB, free: 77.45 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/6.61, allocations: 246.1 kB / 2.613 GB, free: 77.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006096/6.616, allocations: 2.697 MB / 2.616 GB, free: 77.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.966e-05/6.616, allocations: 7.312 kB / 2.616 GB, free: 77.08 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/6.616, allocations: 85.44 kB / 2.616 GB, free: 77.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/6.617, allocations: 53.06 kB / 2.616 GB, free: 77.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004504/6.621, allocations: 1.986 MB / 2.618 GB, free: 77.06 MB / 0.7292 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.02115/6.642, allocations: 12.21 MB / 2.63 GB, free: 71.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00381/6.646, allocations: 1.628 MB / 2.631 GB, free: 71.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/6.648, allocations: 0.7474 MB / 2.632 GB, free: 71.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008358/6.656, allocations: 4.054 MB / 2.636 GB, free: 69.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/6.656, allocations: 47.16 kB / 2.636 GB, free: 69.15 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002044/6.658, allocations: 225.6 kB / 2.636 GB, free: 69.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=119): time 9.588e-06/6.658, allocations: 0 / 2.636 GB, free: 69.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119): time 0.01282/6.671, allocations: 4.154 MB / 2.64 GB, free: 67.99 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/6.671, allocations: 63.09 kB / 2.641 GB, free: 67.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005614/6.677, allocations: 3.328 MB / 2.644 GB, free: 67.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007421/6.678, allocations: 62.88 kB / 2.644 GB, free: 67.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001482/6.679, allocations: 1.751 MB / 2.646 GB, free: 67.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006832/6.68, allocations: 415.6 kB / 2.646 GB, free: 66.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/6.68, allocations: 35.41 kB / 2.646 GB, free: 66.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000118/6.68, allocations: 386.8 kB / 2.646 GB, free: 66.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/6.682, allocations: 0.756 MB / 2.647 GB, free: 66.54 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/6.684, allocations: 1.578 MB / 2.649 GB, free: 65.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003789/6.688, allocations: 2.169 MB / 2.651 GB, free: 64.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/6.688, allocations: 3.375 kB / 2.651 GB, free: 64.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007008/6.695, allocations: 2.926 MB / 2.654 GB, free: 64.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004327/6.695, allocations: 0.6356 MB / 2.654 GB, free: 63.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.73e-05/6.695, allocations: 16.75 kB / 2.654 GB, free: 63.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002528/6.698, allocations: 0.7367 MB / 2.655 GB, free: 63.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/6.7, allocations: 394.1 kB / 2.655 GB, free: 63.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003613/6.703, allocations: 5.158 MB / 2.66 GB, free: 59.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00391/6.707, allocations: 227.3 kB / 2.661 GB, free: 59.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005745/6.708, allocations: 182.2 kB / 2.661 GB, free: 59.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/6.708, allocations: 3.656 kB / 2.661 GB, free: 59.61 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007198/6.715, allocations: 2.944 MB / 2.664 GB, free: 59.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.919e-05/6.715, allocations: 19.56 kB / 2.664 GB, free: 59.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002934/6.718, allocations: 1.08 MB / 2.665 GB, free: 59.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/6.719, allocations: 371.3 kB / 2.665 GB, free: 59.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/6.735, allocations: 14.06 MB / 2.679 GB, free: 51.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004087/6.74, allocations: 214.6 kB / 2.679 GB, free: 51.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007216/6.74, allocations: 154.7 kB / 2.679 GB, free: 51.11 MB / 0.7292 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.003649/6.744, allocations: 0.8741 MB / 2.68 GB, free: 50.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/6.745, allocations: 359.3 kB / 2.68 GB, free: 50.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009882/6.755, allocations: 3.081 MB / 2.683 GB, free: 50.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.525e-05/6.755, allocations: 15.75 kB / 2.683 GB, free: 50.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/6.755, allocations: 6 kB / 2.683 GB, free: 50.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/6.755, allocations: 7.828 kB / 2.683 GB, free: 50.36 MB / 0.7292 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.01464/6.77, allocations: 5.138 MB / 2.688 GB, free: 49.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/6.77, allocations: 3.25 kB / 2.688 GB, free: 49.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/6.771, allocations: 204.7 kB / 2.689 GB, free: 49.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/6.773, allocations: 0.6615 MB / 2.689 GB, free: 49.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/6.773, allocations: 47.8 kB / 2.689 GB, free: 49.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003543/6.777, allocations: 5.036 MB / 2.694 GB, free: 45.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/6.777, allocations: 3.938 kB / 2.694 GB, free: 45.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007913/6.785, allocations: 2.681 MB / 2.697 GB, free: 44.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002518/6.787, allocations: 0.599 MB / 2.697 GB, free: 44.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/6.789, allocations: 25.84 kB / 2.697 GB, free: 44.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002839/6.791, allocations: 214 kB / 2.698 GB, free: 44.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/6.792, allocations: 87.77 kB / 2.698 GB, free: 44.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000237/6.792, allocations: 80.36 kB / 2.698 GB, free: 44.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005242/6.797, allocations: 2.211 MB / 2.7 GB, free: 44.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.01e-07/6.797, allocations: 0 / 2.7 GB, free: 44.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01009/6.807, allocations: 1.999 MB / 2.702 GB, free: 44.14 MB / 0.7292 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.004758/6.812, allocations: 2.353 MB / 2.704 GB, free: 43.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.009461/6.822, allocations: 3.958 MB / 2.708 GB, free: 42.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/6.822, allocations: 0 / 2.708 GB, free: 42.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002629/6.824, allocations: 0.9617 MB / 2.709 GB, free: 42.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01146/6.836, allocations: 1.693 MB / 2.711 GB, free: 42.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/6.851, allocations: 7.024 MB / 2.718 GB, free: 39.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00375/6.854, allocations: 2.24 MB / 2.72 GB, free: 38.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005573/6.86, allocations: 0.8223 MB / 2.721 GB, free: 38.13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/6.861, allocations: 273.2 kB / 2.721 GB, free: 38.11 MB / 0.7292 GB Notification: Performance of SimCode: time 8.32e-07/6.861, allocations: 0 / 2.721 GB, free: 38.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.6905/7.552, allocations: 93.6 MB / 2.812 GB, free: 93.26 MB / 0.7448 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)