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.8046/0.8046, 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.001149/0.00115, allocations: 182.3 kB / 187.3 MB, free: 11.89 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.828/1.828, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.0009219/0.0009219, allocations: 97.19 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 274.3 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.295e-05/4.315e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.4496, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.243/4.693, allocations: 1.905 GB / 2.67 GB, free: 114.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/4.693, allocations: 93.95 kB / 2.67 GB, free: 114.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.013/10.71, allocations: 1.553 GB / 4.223 GB, free: 72.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.374e-06/10.71, allocations: 0.875 kB / 4.223 GB, free: 72.88 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002671/10.71, allocations: 62.3 kB / 4.223 GB, free: 72.88 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.007507/10.71, allocations: 2.568 MB / 4.225 GB, free: 71.81 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/10.71, allocations: 11.56 kB / 4.225 GB, free: 71.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005934/10.72, allocations: 0.8194 MB / 4.226 GB, free: 71.67 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007921/10.73, allocations: 3.011 MB / 4.229 GB, free: 71.24 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/10.73, allocations: 115.3 kB / 4.229 GB, free: 71.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003133/10.73, allocations: 156.5 kB / 4.229 GB, free: 71.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/10.73, allocations: 1.613 MB / 4.231 GB, free: 71.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/10.73, allocations: 0 / 4.231 GB, free: 71.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/10.73, allocations: 66.66 kB / 4.231 GB, free: 71.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.543e-05/10.73, allocations: 47.8 kB / 4.231 GB, free: 71.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/10.73, allocations: 1.216 MB / 4.232 GB, free: 71.02 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.01056/10.74, allocations: 7.666 MB / 4.24 GB, free: 67.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/10.75, allocations: 1.107 MB / 4.241 GB, free: 67.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006509/10.75, allocations: 452.2 kB / 4.241 GB, free: 67.04 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/10.75, allocations: 113.4 kB / 4.241 GB, free: 66.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/10.75, allocations: 43.89 kB / 4.241 GB, free: 66.9 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001184/10.75, allocations: 157.2 kB / 4.242 GB, free: 66.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=85): time 4.849e-06/10.75, allocations: 0 / 4.242 GB, free: 66.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85): time 0.002483/10.75, allocations: 1.132 MB / 4.243 GB, free: 66.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/10.75, allocations: 59.69 kB / 4.243 GB, free: 66.61 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/10.75, allocations: 1.569 MB / 4.244 GB, free: 66.39 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/10.75, allocations: 49.77 kB / 4.244 GB, free: 66.36 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006666/10.75, allocations: 1.004 MB / 4.245 GB, free: 66.04 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/10.75, allocations: 299.7 kB / 4.246 GB, free: 65.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/10.75, allocations: 21.03 kB / 4.246 GB, free: 65.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/10.75, allocations: 344.9 kB / 4.246 GB, free: 65.55 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/10.75, allocations: 367.1 kB / 4.246 GB, free: 65.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007532/10.76, allocations: 0.8133 MB / 4.247 GB, free: 65.01 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006877/10.76, allocations: 480.7 kB / 4.247 GB, free: 65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/10.76, allocations: 4.219 kB / 4.247 GB, free: 65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002843/10.76, allocations: 1.499 MB / 4.249 GB, free: 64.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007724/10.76, allocations: 3.982 MB / 4.253 GB, free: 60.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/10.76, allocations: 9.125 kB / 4.253 GB, free: 60.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008483/10.76, allocations: 270.5 kB / 4.253 GB, free: 60.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/10.76, allocations: 243 kB / 4.253 GB, free: 60.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00303/10.76, allocations: 3.628 MB / 4.257 GB, free: 57.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/10.77, allocations: 141.6 kB / 4.257 GB, free: 57.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/10.77, allocations: 78.72 kB / 4.257 GB, free: 57.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/10.77, allocations: 2.438 kB / 4.257 GB, free: 57.64 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002988/10.77, allocations: 1.368 MB / 4.258 GB, free: 57.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/10.77, allocations: 10.34 kB / 4.258 GB, free: 57.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/10.77, allocations: 333.5 kB / 4.259 GB, free: 57.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007904/10.77, allocations: 218 kB / 4.259 GB, free: 57.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00609/10.78, allocations: 5.201 MB / 4.264 GB, free: 54.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/10.78, allocations: 135.5 kB / 4.264 GB, free: 54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/10.78, allocations: 66.77 kB / 4.264 GB, free: 54 MB / 0.7448 GB 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.0004833/10.78, allocations: 170.1 kB / 4.264 GB, free: 53.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004276/10.78, allocations: 209.4 kB / 4.265 GB, free: 53.78 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00353/10.79, allocations: 1.352 MB / 4.266 GB, free: 53.64 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/10.79, allocations: 10.56 kB / 4.266 GB, free: 53.64 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/10.79, allocations: 0 / 4.266 GB, free: 53.64 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002159/10.79, allocations: 1.138 MB / 4.267 GB, free: 53.43 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.006214/10.79, allocations: 3.159 MB / 4.27 GB, free: 52.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/10.79, allocations: 1.75 kB / 4.27 GB, free: 52.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008496/10.79, allocations: 177.5 kB / 4.27 GB, free: 52.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000747/10.8, allocations: 267.2 kB / 4.271 GB, free: 52.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/10.8, allocations: 27.12 kB / 4.271 GB, free: 52.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002348/10.8, allocations: 3.483 MB / 4.274 GB, free: 49.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/10.8, allocations: 5.312 kB / 4.274 GB, free: 49.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/10.8, allocations: 1.941 MB / 4.276 GB, free: 49.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/10.8, allocations: 363.9 kB / 4.276 GB, free: 49.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/10.8, allocations: 17.94 kB / 4.276 GB, free: 49.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/10.8, allocations: 139.3 kB / 4.276 GB, free: 49.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/10.8, allocations: 58.25 kB / 4.276 GB, free: 49.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.843e-05/10.8, allocations: 39.25 kB / 4.276 GB, free: 49.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001826/10.81, allocations: 1.214 MB / 4.278 GB, free: 49.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.11e-07/10.81, allocations: 3.281 kB / 4.278 GB, free: 49.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005039/10.81, allocations: 1.539 MB / 4.279 GB, free: 48.87 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.006672/10.82, allocations: 4.503 MB / 4.284 GB, free: 47.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004214/10.82, allocations: 2.09 MB / 4.286 GB, free: 46.63 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/10.82, allocations: 5.688 kB / 4.286 GB, free: 46.63 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/10.82, allocations: 0.593 MB / 4.286 GB, free: 46.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005205/10.83, allocations: 1.032 MB / 4.287 GB, free: 46.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00542/10.83, allocations: 2.858 MB / 4.29 GB, free: 45.69 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/10.83, allocations: 1.659 MB / 4.292 GB, free: 44.96 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003401/10.84, allocations: 0.7644 MB / 4.292 GB, free: 44.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/10.84, allocations: 116.5 kB / 4.292 GB, free: 44.93 MB / 0.7448 GB Notification: Performance of SimCode: time 1.262e-06/10.84, allocations: 0 / 4.292 GB, free: 44.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.1272/10.97, allocations: 95.84 MB / 4.386 GB, free: 14.91 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)