Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified.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.Validation.PowerSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified") translateModel(BuildingSystems.Fluid.Movers.Validation.PowerSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7496/0.7496, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.0009612/0.0009613, allocations: 181.8 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.631/1.631, allocations: 221.3 MB / 441.4 MB, free: 4.586 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.0009118/0.000912, allocations: 96.8 kB / 0.5124 GB, free: 24.26 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001717/0.001717, allocations: 266.6 kB / 0.5939 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.349e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4355, allocations: 82.78 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.81/1.246, allocations: 399.9 MB / 1.155 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/1.246, allocations: 98.33 kB / 1.155 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.874/5.12, allocations: 1.026 GB / 2.18 GB, free: 69.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.944e-06/5.12, allocations: 0 / 2.18 GB, free: 69.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005954/5.121, allocations: 86.19 kB / 2.181 GB, free: 69.57 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.009004/5.13, allocations: 3.106 MB / 2.184 GB, free: 67.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/5.13, allocations: 9.625 kB / 2.184 GB, free: 67.37 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00399/5.134, allocations: 0.6014 MB / 2.184 GB, free: 67.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0471/5.181, allocations: 23.01 MB / 2.207 GB, free: 48.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/5.181, allocations: 147.8 kB / 2.207 GB, free: 48.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004422/5.182, allocations: 203.9 kB / 2.207 GB, free: 48.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003414/5.185, allocations: 2.042 MB / 2.209 GB, free: 46.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/5.185, allocations: 3.938 kB / 2.209 GB, free: 46.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/5.185, allocations: 72 kB / 2.209 GB, free: 46.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.306e-05/5.186, allocations: 55.92 kB / 2.209 GB, free: 46.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/5.188, allocations: 1.423 MB / 2.211 GB, free: 44.59 MB / 0.7136 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.01431/5.202, allocations: 9.865 MB / 2.22 GB, free: 34.26 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/5.204, allocations: 1.149 MB / 2.221 GB, free: 33.11 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000674/5.205, allocations: 0.5466 MB / 2.222 GB, free: 32.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005927/5.211, allocations: 3.712 MB / 2.225 GB, free: 28.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/5.211, allocations: 47.34 kB / 2.225 GB, free: 28.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001607/5.212, allocations: 210.5 kB / 2.226 GB, free: 28.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=90): time 5.952e-06/5.212, allocations: 4.984 kB / 2.226 GB, free: 28.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=96): time 0.007013/5.219, allocations: 3.133 MB / 2.229 GB, free: 25.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/5.219, allocations: 64.19 kB / 2.229 GB, free: 25.01 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00505/5.225, allocations: 3.189 MB / 2.232 GB, free: 21.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004467/5.225, allocations: 53.7 kB / 2.232 GB, free: 21.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/5.226, allocations: 1.584 MB / 2.234 GB, free: 20.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004315/5.227, allocations: 331.2 kB / 2.234 GB, free: 19.85 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/5.227, allocations: 32 kB / 2.234 GB, free: 19.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001033/5.227, allocations: 373.9 kB / 2.234 GB, free: 19.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007316/5.228, allocations: 0.5115 MB / 2.235 GB, free: 18.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009581/5.229, allocations: 1.203 MB / 2.236 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/5.23, allocations: 0.6903 MB / 2.237 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/5.23, allocations: 4 kB / 2.237 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00362/5.233, allocations: 2.102 MB / 2.239 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001584/5.235, allocations: 8 MB / 2.246 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/5.235, allocations: 20 kB / 2.246 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009976/5.236, allocations: 315.2 kB / 2.247 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/5.237, allocations: 345.8 kB / 2.247 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/5.239, allocations: 3.192 MB / 2.25 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002966/5.242, allocations: 163.8 kB / 2.25 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00033/5.242, allocations: 120 kB / 2.25 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/5.242, allocations: 5.406 kB / 2.25 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003048/5.245, allocations: 1.893 MB / 2.252 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-05/5.245, allocations: 27.06 kB / 2.252 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/5.247, allocations: 455.8 kB / 2.253 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/5.248, allocations: 319.5 kB / 2.253 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007823/5.256, allocations: 5.626 MB / 2.259 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/5.259, allocations: 151.7 kB / 2.259 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003868/5.259, allocations: 107.4 kB / 2.259 GB, free: 8.918 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 159 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006068/5.26, allocations: 208.7 kB / 2.259 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009459/5.261, allocations: 323.9 kB / 2.259 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004395/5.265, allocations: 1.8 MB / 2.261 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/5.265, allocations: 15.98 kB / 2.261 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/5.265, allocations: 0 / 2.261 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002148/5.267, allocations: 1.506 MB / 2.263 GB, free: 4.988 MB / 0.7292 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.009619/5.277, allocations: 4.385 MB / 2.267 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/5.277, allocations: 0 / 2.267 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/5.278, allocations: 230.6 kB / 2.267 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003316/5.279, allocations: 116.7 kB / 2.267 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.642e-05/5.279, allocations: 43.41 kB / 2.267 GB, free: 104 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5664/5.845, allocations: 1.268 MB / 2.268 GB, free: 77.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/5.845, allocations: 3.953 kB / 2.268 GB, free: 77.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00497/5.85, allocations: 2.536 MB / 2.271 GB, free: 76.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002088/5.852, allocations: 0.6261 MB / 2.272 GB, free: 76.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005939/5.853, allocations: 23.59 kB / 2.272 GB, free: 76.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/5.854, allocations: 115.7 kB / 2.272 GB, free: 76.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/5.855, allocations: 75.48 kB / 2.272 GB, free: 76.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/5.855, allocations: 58.27 kB / 2.272 GB, free: 76.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004784/5.86, allocations: 2.453 MB / 2.274 GB, free: 76.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.3e-07/5.86, allocations: 3.031 kB / 2.274 GB, free: 76.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006609/5.866, allocations: 1.596 MB / 2.276 GB, free: 76.45 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (pump_Nrpm.port_a.h_outflow,pump_dp.port_a.h_outflow,pump_m_flow.port_a.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003273/5.869, allocations: 1.814 MB / 2.278 GB, free: 76.13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00447/5.874, allocations: 2.598 MB / 2.28 GB, free: 75.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/5.874, allocations: 0 / 2.28 GB, free: 75.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/5.875, allocations: 0.6232 MB / 2.281 GB, free: 75.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008297/5.883, allocations: 1.677 MB / 2.282 GB, free: 75.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008139/5.892, allocations: 4.443 MB / 2.287 GB, free: 74.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/5.893, allocations: 2.229 MB / 2.289 GB, free: 74.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005706/5.899, allocations: 1.454 MB / 2.29 GB, free: 74.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004816/5.899, allocations: 195.7 kB / 2.29 GB, free: 74.06 MB / 0.7292 GB Notification: Performance of SimCode: time 9.72e-07/5.899, allocations: 0 / 2.29 GB, free: 74.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.1316/6.031, allocations: 88.96 MB / 2.377 GB, free: 69.41 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PowerSimplified.pipe 2>&1)