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: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6966/0.6966, 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.0009403/0.0009403, allocations: 190.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.196/1.196, allocations: 221.3 MB / 441.4 MB, free: 4.621 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.0008729/0.0008725, allocations: 98.92 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001696/0.001696, allocations: 278.7 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.724e-05/2.725e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3258, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.512/3.837, allocations: 1.905 GB / 2.67 GB, free: 100.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/3.838, allocations: 88.52 kB / 2.67 GB, free: 100.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.981/8.819, allocations: 1.553 GB / 4.223 GB, free: 73.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.242e-06/8.819, allocations: 0 / 4.223 GB, free: 73.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000212/8.819, allocations: 63.19 kB / 4.223 GB, free: 73.23 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.005483/8.825, allocations: 2.574 MB / 4.225 GB, free: 72.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/8.825, allocations: 10.34 kB / 4.225 GB, free: 72.16 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002637/8.825, allocations: 206.9 kB / 4.226 GB, free: 72.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005081/8.83, allocations: 0.8152 MB / 4.226 GB, free: 71.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006585/8.837, allocations: 2.994 MB / 4.229 GB, free: 71.51 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.398e-05/8.837, allocations: 120.3 kB / 4.229 GB, free: 71.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/8.837, allocations: 160.8 kB / 4.23 GB, free: 71.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/8.839, allocations: 1.614 MB / 4.231 GB, free: 71.31 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/8.839, allocations: 0 / 4.231 GB, free: 71.31 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/8.84, allocations: 58.56 kB / 4.231 GB, free: 71.31 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/8.84, allocations: 50.19 kB / 4.231 GB, free: 71.31 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/8.841, allocations: 1.214 MB / 4.232 GB, free: 71.29 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.008715/8.85, allocations: 7.672 MB / 4.24 GB, free: 67.54 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/8.852, allocations: 1.106 MB / 4.241 GB, free: 67.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/8.853, allocations: 460.2 kB / 4.241 GB, free: 67.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/8.853, allocations: 109.2 kB / 4.242 GB, free: 67.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/8.853, allocations: 49.56 kB / 4.242 GB, free: 67.17 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009992/8.854, allocations: 158.8 kB / 4.242 GB, free: 67.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=85): time 3.056e-06/8.854, allocations: 3.875 kB / 4.242 GB, free: 67.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85): time 0.002281/8.856, allocations: 1.128 MB / 4.243 GB, free: 66.94 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/8.856, allocations: 61 kB / 4.243 GB, free: 66.88 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/8.858, allocations: 1.568 MB / 4.244 GB, free: 66.65 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.723e-05/8.858, allocations: 52.62 kB / 4.245 GB, free: 66.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000584/8.859, allocations: 1.007 MB / 4.246 GB, free: 66.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/8.859, allocations: 297.8 kB / 4.246 GB, free: 66.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/8.859, allocations: 22.03 kB / 4.246 GB, free: 66.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.019e-05/8.859, allocations: 349.8 kB / 4.246 GB, free: 65.81 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005173/8.86, allocations: 363.9 kB / 4.247 GB, free: 65.81 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006748/8.86, allocations: 0.8133 MB / 4.247 GB, free: 65.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/8.861, allocations: 483.6 kB / 4.248 GB, free: 65.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/8.861, allocations: 6.312 kB / 4.248 GB, free: 65.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00266/8.864, allocations: 1.49 MB / 4.249 GB, free: 65.08 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007049/8.864, allocations: 3.978 MB / 4.253 GB, free: 60.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/8.864, allocations: 12.08 kB / 4.253 GB, free: 60.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000811/8.865, allocations: 279.5 kB / 4.253 GB, free: 60.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/8.866, allocations: 238.1 kB / 4.254 GB, free: 60.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/8.869, allocations: 3.628 MB / 4.257 GB, free: 57.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/8.871, allocations: 148.7 kB / 4.257 GB, free: 57.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/8.871, allocations: 83.17 kB / 4.257 GB, free: 57.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/8.871, allocations: 3.781 kB / 4.257 GB, free: 57.9 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002692/8.873, allocations: 1.36 MB / 4.259 GB, free: 57.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/8.874, allocations: 12.09 kB / 4.259 GB, free: 57.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/8.875, allocations: 326.4 kB / 4.259 GB, free: 57.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000712/8.875, allocations: 219.5 kB / 4.259 GB, free: 57.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00511/8.88, allocations: 5.199 MB / 4.264 GB, free: 54.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/8.882, allocations: 136.4 kB / 4.264 GB, free: 54.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.932e-05/8.882, allocations: 66.28 kB / 4.265 GB, free: 54.26 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.0002749/8.882, allocations: 174.7 kB / 4.265 GB, free: 54.15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/8.883, allocations: 205.4 kB / 4.265 GB, free: 54.04 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/8.885, allocations: 1.353 MB / 4.266 GB, free: 53.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/8.885, allocations: 12.09 kB / 4.266 GB, free: 53.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/8.885, allocations: 0 / 4.266 GB, free: 53.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001987/8.887, allocations: 1.137 MB / 4.267 GB, free: 53.69 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.004936/8.892, allocations: 3.15 MB / 4.27 GB, free: 53.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/8.892, allocations: 0 / 4.27 GB, free: 53.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000823/8.893, allocations: 182.4 kB / 4.271 GB, free: 53.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006941/8.894, allocations: 264.3 kB / 4.271 GB, free: 53.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.056e-05/8.894, allocations: 30.75 kB / 4.271 GB, free: 53.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/8.896, allocations: 3.479 MB / 4.274 GB, free: 50.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/8.896, allocations: 4.562 kB / 4.274 GB, free: 50.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/8.899, allocations: 1.938 MB / 4.276 GB, free: 49.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006053/8.899, allocations: 368.1 kB / 4.276 GB, free: 49.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/8.9, allocations: 16.88 kB / 4.277 GB, free: 49.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/8.901, allocations: 128.8 kB / 4.277 GB, free: 49.49 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/8.901, allocations: 65.33 kB / 4.277 GB, free: 49.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.109e-05/8.901, allocations: 42.02 kB / 4.277 GB, free: 49.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001405/8.902, allocations: 1.215 MB / 4.278 GB, free: 49.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/8.902, allocations: 0 / 4.278 GB, free: 49.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003855/8.906, allocations: 1.546 MB / 4.279 GB, free: 49.15 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.00784/8.914, allocations: 7.121 MB / 4.286 GB, free: 46.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003299/8.917, allocations: 2.095 MB / 4.288 GB, free: 45.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/8.917, allocations: 3.906 kB / 4.288 GB, free: 45.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008079/8.918, allocations: 0.5892 MB / 4.289 GB, free: 45.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/8.922, allocations: 1.042 MB / 4.29 GB, free: 45.55 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005114/8.927, allocations: 3.434 MB / 4.293 GB, free: 44.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000927/8.928, allocations: 1.653 MB / 4.295 GB, free: 43.9 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002637/8.931, allocations: 0.7643 MB / 4.296 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008312/8.932, allocations: 0.8334 MB / 4.297 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/8.932, allocations: 0 / 4.297 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.154/9.086, allocations: 125.3 MB / 4.419 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/9.086, allocations: 243.6 kB / 4.419 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.556/14.64, allocations: 8 kB / 4.419 GB, free: 5 MB / 0.7761 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)