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 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.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.7797/0.7797, 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.001028/0.001028, allocations: 184.5 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.602/1.602, allocations: 205.4 MB / 426.3 MB, free: 8.469 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.0009641/0.0009642, allocations: 82.42 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001771/0.001771, allocations: 266.4 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004631, allocations: 20 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3976, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.204/4.601, allocations: 2.083 GB / 2.822 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/4.601, allocations: 95.95 kB / 2.823 GB, free: 202 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.674/10.28, allocations: 1.532 GB / 4.354 GB, free: 74.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.847e-06/10.28, allocations: 1.906 kB / 4.354 GB, free: 74.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005109/10.28, allocations: 60.55 kB / 4.355 GB, free: 74.27 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.01331/10.29, allocations: 3.399 MB / 4.358 GB, free: 73.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/10.29, allocations: 11.47 kB / 4.358 GB, free: 73.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006428/10.3, allocations: 0.82 MB / 4.359 GB, free: 73.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009539/10.31, allocations: 3.056 MB / 4.362 GB, free: 72.67 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/10.31, allocations: 114.5 kB / 4.362 GB, free: 72.67 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007012/10.31, allocations: 155.3 kB / 4.362 GB, free: 72.67 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004719/10.31, allocations: 1.689 MB / 4.364 GB, free: 72.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.604e-05/10.31, allocations: 12.38 kB / 4.364 GB, free: 72.47 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003647/10.31, allocations: 56.53 kB / 4.364 GB, free: 72.47 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.826e-05/10.31, allocations: 45.52 kB / 4.364 GB, free: 72.47 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003461/10.32, allocations: 1.348 MB / 4.365 GB, free: 72.45 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.01393/10.33, allocations: 7.686 MB / 4.372 GB, free: 68.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003233/10.33, allocations: 1.196 MB / 4.374 GB, free: 68.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/10.33, allocations: 0.4978 MB / 4.374 GB, free: 68.53 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/10.33, allocations: 108.6 kB / 4.374 GB, free: 68.44 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/10.33, allocations: 41.25 kB / 4.374 GB, free: 68.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001968/10.34, allocations: 164 kB / 4.374 GB, free: 68.37 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=86): time 1.361e-05/10.34, allocations: 0 / 4.374 GB, free: 68.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=86): time 0.00714/10.34, allocations: 2.215 MB / 4.377 GB, free: 67.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/10.34, allocations: 63.66 kB / 4.377 GB, free: 67.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004126/10.35, allocations: 1.815 MB / 4.378 GB, free: 67.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000284/10.35, allocations: 47.86 kB / 4.378 GB, free: 67.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/10.35, allocations: 0.9957 MB / 4.379 GB, free: 67.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/10.35, allocations: 296 kB / 4.38 GB, free: 67.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/10.35, allocations: 27.62 kB / 4.38 GB, free: 67.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001265/10.35, allocations: 355.5 kB / 4.38 GB, free: 66.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/10.35, allocations: 421.5 kB / 4.381 GB, free: 66.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/10.35, allocations: 0.8698 MB / 4.381 GB, free: 66.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002372/10.35, allocations: 1.21 MB / 4.383 GB, free: 65.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/10.35, allocations: 2.094 kB / 4.383 GB, free: 65.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004953/10.36, allocations: 1.634 MB / 4.384 GB, free: 65.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003689/10.36, allocations: 384.6 kB / 4.385 GB, free: 65.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/10.36, allocations: 14.41 kB / 4.385 GB, free: 65.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/10.36, allocations: 311.5 kB / 4.385 GB, free: 65.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/10.36, allocations: 248 kB / 4.385 GB, free: 65.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00419/10.37, allocations: 3.68 MB / 4.389 GB, free: 62.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/10.37, allocations: 140.7 kB / 4.389 GB, free: 62.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/10.37, allocations: 83.7 kB / 4.389 GB, free: 62.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/10.37, allocations: 3.625 kB / 4.389 GB, free: 62.41 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003821/10.37, allocations: 1.468 MB / 4.39 GB, free: 62.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.313e-05/10.37, allocations: 11.16 kB / 4.39 GB, free: 62.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/10.37, allocations: 349.4 kB / 4.391 GB, free: 62.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008633/10.38, allocations: 214.1 kB / 4.391 GB, free: 62.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006439/10.38, allocations: 5.252 MB / 4.396 GB, free: 58.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/10.38, allocations: 140.5 kB / 4.396 GB, free: 58.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/10.38, allocations: 64.59 kB / 4.396 GB, free: 58.77 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (117): * Single equations (assignments): 111 * 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.001759/10.39, allocations: 0.6196 MB / 4.397 GB, free: 58.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000649/10.39, allocations: 199.5 kB / 4.397 GB, free: 58.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00414/10.39, allocations: 1.452 MB / 4.398 GB, free: 58.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/10.39, allocations: 11.66 kB / 4.398 GB, free: 58.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/10.39, allocations: 5.094 kB / 4.398 GB, free: 58.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00284/10.39, allocations: 1.244 MB / 4.4 GB, free: 58.12 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.008851/10.4, allocations: 3.259 MB / 4.403 GB, free: 57.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/10.4, allocations: 2.5 kB / 4.403 GB, free: 57.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008826/10.4, allocations: 193.9 kB / 4.403 GB, free: 57.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000766/10.4, allocations: 260.6 kB / 4.403 GB, free: 57.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.64e-05/10.4, allocations: 25.64 kB / 4.403 GB, free: 57.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/10.41, allocations: 3.528 MB / 4.407 GB, free: 54.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/10.41, allocations: 3.094 kB / 4.407 GB, free: 54.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004409/10.41, allocations: 2.027 MB / 4.409 GB, free: 54.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/10.41, allocations: 361.4 kB / 4.409 GB, free: 54.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006787/10.41, allocations: 19.09 kB / 4.409 GB, free: 54.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/10.42, allocations: 131 kB / 4.409 GB, free: 54.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/10.42, allocations: 63.89 kB / 4.409 GB, free: 54.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/10.42, allocations: 41.72 kB / 4.409 GB, free: 54.04 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002921/10.42, allocations: 1.224 MB / 4.41 GB, free: 53.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/10.42, allocations: 3.25 kB / 4.41 GB, free: 53.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007251/10.43, allocations: 1.552 MB / 4.412 GB, free: 53.71 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 68 * 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.007718/10.43, allocations: 4.516 MB / 4.416 GB, free: 51.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005694/10.44, allocations: 2.192 MB / 4.419 GB, free: 51.49 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/10.44, allocations: 0 / 4.419 GB, free: 51.49 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001503/10.44, allocations: 0.6535 MB / 4.419 GB, free: 51.37 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006716/10.45, allocations: 1.037 MB / 4.42 GB, free: 51.33 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00889/10.46, allocations: 4.405 MB / 4.424 GB, free: 49.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002094/10.46, allocations: 1.605 MB / 4.426 GB, free: 48.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00297/10.46, allocations: 497.6 kB / 4.427 GB, free: 48.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/10.46, allocations: 151.1 kB / 4.427 GB, free: 48.65 MB / 0.7292 GB Notification: Performance of SimCode: time 1.623e-06/10.46, allocations: 0 / 4.427 GB, free: 48.65 MB / 0.7292 GB Notification: Performance of Templates: time 0.1218/10.58, allocations: 84.13 MB / 4.509 GB, free: 43.94 MB / 0.7292 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)