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.7838/0.7838, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 186.1 kB / 187.3 MB, free: 11.88 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.362/1.362, allocations: 221.3 MB / 441.4 MB, free: 4.664 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.0008656/0.0008657, allocations: 96.31 kB / 0.5124 GB, free: 24.13 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001744, allocations: 272.5 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.994e-05/3.997e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4371, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8341/1.271, allocations: 400.5 MB / 1.155 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/1.272, allocations: 89.58 kB / 1.155 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.629/6.901, allocations: 1.468 GB / 2.623 GB, free: 78.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.204e-06/6.901, allocations: 0 / 2.623 GB, free: 78.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0006304/6.902, allocations: 108.7 kB / 2.623 GB, free: 78.45 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.01078/6.913, allocations: 3.7 MB / 2.627 GB, free: 76.72 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/6.913, allocations: 13.14 kB / 2.627 GB, free: 76.72 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007114/6.92, allocations: 1.131 MB / 2.628 GB, free: 76.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05888/6.979, allocations: 28.85 MB / 2.656 GB, free: 74.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/6.979, allocations: 186.1 kB / 2.656 GB, free: 74.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008356/6.98, allocations: 241.5 kB / 2.657 GB, free: 74.79 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004444/6.984, allocations: 2.561 MB / 2.659 GB, free: 74.42 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.297e-05/6.984, allocations: 2.812 kB / 2.659 GB, free: 74.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/6.985, allocations: 92.78 kB / 2.659 GB, free: 74.42 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/6.985, allocations: 53.28 kB / 2.659 GB, free: 74.42 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002972/6.988, allocations: 1.754 MB / 2.661 GB, free: 74.41 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.01837/7.006, allocations: 12.33 MB / 2.673 GB, free: 68.44 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/7.008, allocations: 1.432 MB / 2.674 GB, free: 68.4 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000876/7.009, allocations: 0.6391 MB / 2.675 GB, free: 68.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007653/7.017, allocations: 4.18 MB / 2.679 GB, free: 66.51 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/7.017, allocations: 46.59 kB / 2.679 GB, free: 66.47 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002566/7.019, allocations: 227 kB / 2.679 GB, free: 66.39 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=119): time 1.121e-05/7.019, allocations: 0.5625 kB / 2.679 GB, free: 66.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=119): time 0.005684/7.025, allocations: 1.969 MB / 2.681 GB, free: 66.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/7.025, allocations: 68.39 kB / 2.681 GB, free: 66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005127/7.03, allocations: 2.929 MB / 2.684 GB, free: 65.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0005973/7.031, allocations: 62.3 kB / 2.684 GB, free: 65.65 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001565/7.033, allocations: 1.785 MB / 2.686 GB, free: 65.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007168/7.033, allocations: 410.1 kB / 2.686 GB, free: 64.92 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/7.033, allocations: 39.11 kB / 2.686 GB, free: 64.92 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000133/7.034, allocations: 382.2 kB / 2.687 GB, free: 64.61 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/7.035, allocations: 0.6534 MB / 2.687 GB, free: 64.61 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/7.036, allocations: 1.465 MB / 2.689 GB, free: 63.65 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/7.037, allocations: 0.8452 MB / 2.69 GB, free: 63.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/7.037, allocations: 6.438 kB / 2.69 GB, free: 63.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.004781/7.042, allocations: 2.677 MB / 2.692 GB, free: 63.29 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001508/7.044, allocations: 8.158 MB / 2.7 GB, free: 54.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/7.044, allocations: 19.09 kB / 2.7 GB, free: 54.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/7.046, allocations: 0.6378 MB / 2.701 GB, free: 54.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/7.047, allocations: 394 kB / 2.701 GB, free: 54.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/7.05, allocations: 5.106 MB / 2.706 GB, free: 50.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003682/7.054, allocations: 221.8 kB / 2.707 GB, free: 50.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004765/7.054, allocations: 182.1 kB / 2.707 GB, free: 50.71 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/7.054, allocations: 6.656 kB / 2.707 GB, free: 50.71 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005391/7.06, allocations: 2.743 MB / 2.709 GB, free: 50.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.73e-05/7.06, allocations: 18.78 kB / 2.709 GB, free: 50.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002665/7.063, allocations: 1.051 MB / 2.71 GB, free: 50.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/7.064, allocations: 363.3 kB / 2.711 GB, free: 50.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/7.08, allocations: 14.03 MB / 2.724 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00361/7.083, allocations: 223.9 kB / 2.725 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005123/7.084, allocations: 145.9 kB / 2.725 GB, free: 42.23 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 () * 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.0007426/7.085, allocations: 227.8 kB / 2.725 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000888/7.086, allocations: 361.8 kB / 2.725 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006963/7.093, allocations: 2.852 MB / 2.728 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/7.093, allocations: 14.12 kB / 2.728 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/7.093, allocations: 2.469 kB / 2.728 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/7.093, allocations: 7.875 kB / 2.728 GB, free: 41.63 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.01028/7.103, allocations: 4.96 MB / 2.733 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/7.103, allocations: 3.156 kB / 2.733 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/7.104, allocations: 211.7 kB / 2.733 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001628/7.106, allocations: 0.6396 MB / 2.734 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/7.106, allocations: 44.78 kB / 2.734 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002729/7.109, allocations: 4.972 MB / 2.739 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/7.109, allocations: 6.703 kB / 2.739 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0052/7.114, allocations: 2.56 MB / 2.741 GB, free: 36.08 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002051/7.116, allocations: 0.6224 MB / 2.742 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006475/7.117, allocations: 28.72 kB / 2.742 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/7.119, allocations: 207.3 kB / 2.742 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/7.119, allocations: 94.3 kB / 2.742 GB, free: 35.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/7.119, allocations: 83.94 kB / 2.742 GB, free: 35.74 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00371/7.123, allocations: 2.235 MB / 2.744 GB, free: 35.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.11e-07/7.123, allocations: 0 / 2.744 GB, free: 35.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.008468/7.131, allocations: 2.048 MB / 2.746 GB, free: 35.26 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.003415/7.135, allocations: 2.39 MB / 2.749 GB, free: 34.39 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005927/7.141, allocations: 3.792 MB / 2.753 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/7.141, allocations: 0 / 2.753 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/7.142, allocations: 0.8495 MB / 2.753 GB, free: 33.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00781/7.15, allocations: 1.695 MB / 2.755 GB, free: 33.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008287/7.158, allocations: 4.573 MB / 2.759 GB, free: 32.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/7.16, allocations: 2.329 MB / 2.762 GB, free: 31.49 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.005749/7.166, allocations: 1.296 MB / 2.763 GB, free: 31.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005194/7.166, allocations: 207 kB / 2.763 GB, free: 31.29 MB / 0.7448 GB Notification: Performance of SimCode: time 1.423e-06/7.166, allocations: 0 / 2.763 GB, free: 31.29 MB / 0.7448 GB Notification: Performance of Templates: time 0.678/7.844, allocations: 103.8 MB / 2.865 GB, free: 103.1 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)