Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.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.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm") translateModel(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8781/0.8781, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.00119/0.00119, allocations: 187.5 kB / 182.2 MB, free: 9.465 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.46/1.46, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.00096/0.0009601, allocations: 104 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 280.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.757e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4262, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.291/4.717, allocations: 1.905 GB / 2.662 GB, free: 114.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/4.718, allocations: 89.52 kB / 2.662 GB, free: 114.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.501/11.22, allocations: 1.536 GB / 4.198 GB, free: 77.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/11.22, allocations: 0 / 4.198 GB, free: 77.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004542/11.22, allocations: 63.73 kB / 4.198 GB, free: 77.32 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.009883/11.23, allocations: 2.571 MB / 4.201 GB, free: 76.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/11.23, allocations: 10.19 kB / 4.201 GB, free: 76.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007219/11.24, allocations: 0.821 MB / 4.202 GB, free: 76.22 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/11.25, allocations: 3.003 MB / 4.204 GB, free: 75.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/11.25, allocations: 47.19 kB / 4.204 GB, free: 75.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007266/11.25, allocations: 89.75 kB / 4.205 GB, free: 75.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003475/11.25, allocations: 1.221 MB / 4.206 GB, free: 75.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003894/11.26, allocations: 1.413 MB / 4.207 GB, free: 75.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.877e-05/11.26, allocations: 4.406 kB / 4.207 GB, free: 75.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/11.26, allocations: 0 / 4.207 GB, free: 75.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.003e-05/11.26, allocations: 57.17 kB / 4.207 GB, free: 75.59 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.0132/11.27, allocations: 7.386 MB / 4.214 GB, free: 71.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/11.27, allocations: 1.186 MB / 4.216 GB, free: 71.75 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007195/11.27, allocations: 486.8 kB / 4.216 GB, free: 71.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/11.27, allocations: 108.8 kB / 4.216 GB, free: 71.64 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/11.27, allocations: 46.94 kB / 4.216 GB, free: 71.6 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001405/11.27, allocations: 123.7 kB / 4.216 GB, free: 71.58 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=85): time 6.292e-06/11.27, allocations: 0 / 4.216 GB, free: 71.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85): time 0.003751/11.28, allocations: 1.277 MB / 4.218 GB, free: 71.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/11.28, allocations: 64.55 kB / 4.218 GB, free: 71.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003291/11.28, allocations: 1.353 MB / 4.219 GB, free: 71.14 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001912/11.28, allocations: 27.89 kB / 4.219 GB, free: 71.11 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001183/11.28, allocations: 1.003 MB / 4.22 GB, free: 70.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/11.28, allocations: 279.2 kB / 4.22 GB, free: 70.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.464e-05/11.28, allocations: 1.203 kB / 4.22 GB, free: 70.64 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001303/11.28, allocations: 350.4 kB / 4.221 GB, free: 70.33 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007164/11.28, allocations: 402 kB / 4.221 GB, free: 70.33 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009853/11.29, allocations: 0.8254 MB / 4.222 GB, free: 69.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/11.29, allocations: 0.5726 MB / 4.222 GB, free: 69.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/11.29, allocations: 3.094 kB / 4.222 GB, free: 69.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004485/11.29, allocations: 1.586 MB / 4.224 GB, free: 69.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001285/11.29, allocations: 3.953 MB / 4.228 GB, free: 65.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.5e-05/11.29, allocations: 9.906 kB / 4.228 GB, free: 65.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/11.29, allocations: 316 kB / 4.228 GB, free: 65.49 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/11.3, allocations: 245.6 kB / 4.228 GB, free: 65.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003774/11.3, allocations: 3.65 MB / 4.232 GB, free: 62.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/11.3, allocations: 117 kB / 4.232 GB, free: 62.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003222/11.3, allocations: 76.48 kB / 4.232 GB, free: 62.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/11.3, allocations: 2.969 kB / 4.232 GB, free: 62.66 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004265/11.31, allocations: 1.283 MB / 4.233 GB, free: 62.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-05/11.31, allocations: 14.44 kB / 4.233 GB, free: 62.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/11.31, allocations: 316.2 kB / 4.234 GB, free: 62.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000873/11.31, allocations: 218.8 kB / 4.234 GB, free: 62.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006731/11.32, allocations: 4.999 MB / 4.239 GB, free: 59.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/11.32, allocations: 111.6 kB / 4.239 GB, free: 59.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003235/11.32, allocations: 71.8 kB / 4.239 GB, free: 59.15 MB / 0.7448 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {1 4,1 9,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006998/11.32, allocations: 144 kB / 4.239 GB, free: 59.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008262/11.32, allocations: 193.3 kB / 4.239 GB, free: 58.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004266/11.32, allocations: 1.314 MB / 4.24 GB, free: 58.81 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/11.32, allocations: 7.75 kB / 4.24 GB, free: 58.81 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/11.32, allocations: 0 / 4.24 GB, free: 58.81 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002564/11.33, allocations: 1.137 MB / 4.242 GB, free: 58.6 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.00817/11.33, allocations: 2.961 MB / 4.244 GB, free: 58.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/11.33, allocations: 2.906 kB / 4.244 GB, free: 58.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009351/11.34, allocations: 173.7 kB / 4.245 GB, free: 58.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005743/11.34, allocations: 208.2 kB / 4.245 GB, free: 58.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.594e-05/11.34, allocations: 16.98 kB / 4.245 GB, free: 58.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/11.34, allocations: 3.438 MB / 4.248 GB, free: 55.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/11.34, allocations: 5.031 kB / 4.248 GB, free: 55.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/11.34, allocations: 1.885 MB / 4.25 GB, free: 54.72 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/11.34, allocations: 361 kB / 4.25 GB, free: 54.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006797/11.35, allocations: 5.641 kB / 4.25 GB, free: 54.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/11.35, allocations: 117.7 kB / 4.25 GB, free: 54.51 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/11.35, allocations: 60.22 kB / 4.251 GB, free: 54.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/11.35, allocations: 38.55 kB / 4.251 GB, free: 54.51 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002517/11.35, allocations: 1.025 MB / 4.252 GB, free: 54.37 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.51e-07/11.35, allocations: 2.562 kB / 4.252 GB, free: 54.37 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007249/11.36, allocations: 1.435 MB / 4.253 GB, free: 54.17 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00837/11.37, allocations: 4.671 MB / 4.258 GB, free: 52.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004242/11.37, allocations: 2.039 MB / 4.26 GB, free: 52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/11.37, allocations: 0 / 4.26 GB, free: 52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009893/11.37, allocations: 0.5625 MB / 4.26 GB, free: 51.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004911/11.38, allocations: 0.9274 MB / 4.261 GB, free: 51.85 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005261/11.38, allocations: 2.778 MB / 4.264 GB, free: 51.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/11.38, allocations: 1.658 MB / 4.265 GB, free: 50.33 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003173/11.39, allocations: 0.702 MB / 4.266 GB, free: 50.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/11.39, allocations: 112.8 kB / 4.266 GB, free: 50.3 MB / 0.7448 GB Notification: Performance of SimCode: time 1.323e-06/11.39, allocations: 0 / 4.266 GB, free: 50.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.1033/11.49, allocations: 61.94 MB / 4.327 GB, free: 45.95 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)