Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.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.Pump_Nrpm_stratos,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_Pump_Nrpm_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_Pump_Nrpm_stratos",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.8787/0.8787, allocations: 143.3 MB / 158.3 MB, free: 5.664 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.001276/0.001275, allocations: 175.7 kB / 191.5 MB, free: 5.699 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.651/1.651, allocations: 223.2 MB / 447.7 MB, free: 4.906 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.001236/0.001236, allocations: 92.33 kB / 0.5187 GB, free: 1.266 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002044, allocations: 275.5 kB / 0.6005 GB, free: 48.81 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004486, allocations: 14.28 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2039, allocations: 82.8 MB / 0.7738 GB, free: 13.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8663/1.07, allocations: 359 MB / 1.124 GB, free: 10.67 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.071, allocations: 91.33 kB / 1.124 GB, free: 10.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 12.31/13.38, allocations: 2.725 GB / 3.85 GB, free: 50.07 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.145e-06/13.38, allocations: 0 / 3.85 GB, free: 50.07 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.00328/13.38, allocations: 241.4 kB / 3.85 GB, free: 50.03 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.06538/13.45, allocations: 14.91 MB / 3.864 GB, free: 45.15 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.314e-05/13.45, allocations: 9.188 kB / 3.864 GB, free: 45.15 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004428/13.45, allocations: 0.6261 MB / 3.865 GB, free: 45.08 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02197/13.48, allocations: 2.813 MB / 3.868 GB, free: 44.46 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1622/13.64, allocations: 61.09 MB / 3.928 GB, free: 40.82 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/13.64, allocations: 422.2 kB / 3.928 GB, free: 40.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00397/13.64, allocations: 0.5496 MB / 3.928 GB, free: 40.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0234/13.67, allocations: 6.49 MB / 3.935 GB, free: 40.02 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002996/13.67, allocations: 9.344 kB / 3.935 GB, free: 40.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00228/13.67, allocations: 203.7 kB / 3.935 GB, free: 40.02 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002121/13.67, allocations: 188.5 kB / 3.935 GB, free: 40 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/13.69, allocations: 4.905 MB / 3.94 GB, free: 39.96 MB / 0.8542 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.07483/13.76, allocations: 30.09 MB / 3.969 GB, free: 29.24 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01335/13.78, allocations: 3.911 MB / 3.973 GB, free: 29.16 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03508/13.81, allocations: 11.61 MB / 3.985 GB, free: 25.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.028e-05/13.81, allocations: 63.88 kB / 3.985 GB, free: 25.36 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008112/13.82, allocations: 0.6404 MB / 3.985 GB, free: 25.13 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=277): time 2.392e-05/13.82, allocations: 2.281 kB / 3.985 GB, free: 25.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=277): time 0.03728/13.86, allocations: 8.341 MB / 3.993 GB, free: 23.81 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/13.86, allocations: 79.31 kB / 3.993 GB, free: 23.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03398/13.89, allocations: 10.36 MB / 4.004 GB, free: 23.16 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001897/13.89, allocations: 113.6 kB / 4.004 GB, free: 23.13 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.008127/13.9, allocations: 4.837 MB / 4.008 GB, free: 22.13 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002407/13.9, allocations: 0.9618 MB / 4.009 GB, free: 21.51 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/13.91, allocations: 101.7 kB / 4.009 GB, free: 21.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0006481/13.91, allocations: 0.4922 MB / 4.01 GB, free: 21.19 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006765/13.91, allocations: 2.052 MB / 4.012 GB, free: 21.16 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008682/13.92, allocations: 4.213 MB / 4.016 GB, free: 18.42 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008106/13.93, allocations: 2.519 MB / 4.018 GB, free: 18.27 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/13.93, allocations: 17.91 kB / 4.018 GB, free: 18.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.02528/13.96, allocations: 7.367 MB / 4.026 GB, free: 17.53 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.01253/13.97, allocations: 34.73 MB / 4.06 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002818/13.97, allocations: 59.31 kB / 4.06 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00379/13.97, allocations: 0.9702 MB / 4.061 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00754/13.98, allocations: 1.256 MB / 4.062 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008223/13.99, allocations: 4.056 MB / 4.066 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/14, allocations: 474.2 kB / 4.066 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002354/14, allocations: 434.7 kB / 4.067 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/14, allocations: 7.75 kB / 4.067 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02152/14.02, allocations: 6.691 MB / 4.073 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002889/14.02, allocations: 62.52 kB / 4.073 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003138/14.03, allocations: 0.9672 MB / 4.074 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005924/14.03, allocations: 1.172 MB / 4.075 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00666/14.04, allocations: 4.059 MB / 4.079 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01452/14.06, allocations: 451.3 kB / 4.08 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002321/14.06, allocations: 375.5 kB / 4.08 GB, free: 6.328 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * 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 (532): * Single equations (assignments): 517 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 9,2 9,2 9,2 9,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.01085/14.07, allocations: 2.256 MB / 4.082 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00504/14.07, allocations: 0.9226 MB / 4.083 GB, free: 5.512 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02631/14.1, allocations: 6.726 MB / 4.09 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.415e-05/14.1, allocations: 43.89 kB / 4.09 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.109e-05/14.1, allocations: 0 / 4.09 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-05/14.1, allocations: 15.8 kB / 4.09 GB, free: 3.348 MB / 0.8855 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.05815/14.16, allocations: 14.11 MB / 4.104 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.697e-05/14.16, allocations: 8.078 kB / 4.104 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00371/14.16, allocations: 0.5901 MB / 4.104 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002807/14.16, allocations: 0.7739 MB / 4.105 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009903/14.17, allocations: 121.5 kB / 4.105 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004492/14.17, allocations: 3.657 MB / 4.109 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/14.17, allocations: 0 / 4.109 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02606/14.2, allocations: 8.309 MB / 4.117 GB, free: 6.805 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008569/14.21, allocations: 1.917 MB / 4.119 GB, free: 5.645 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004865/14.21, allocations: 70.05 kB / 4.119 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00895/14.22, allocations: 424.9 kB / 4.119 GB, free: 5.508 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008286/14.22, allocations: 209.6 kB / 4.119 GB, free: 5.477 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009354/14.22, allocations: 192.5 kB / 4.119 GB, free: 5.445 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.02097/14.24, allocations: 7.889 MB / 4.127 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.81e-07/14.24, allocations: 0 / 4.127 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.02601/14.27, allocations: 4.313 MB / 4.131 GB, free: 1.555 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (pump1.filter.s[1],pump1.filter.s[2],pump2.filter.s[1],pump2.filter.s[2],pump3.filter.s[1],pump3.filter.s[2],pump4.filter.s[1],pump4.filter.s[2],pump5.filter.s[1],pump5.filter.s[2],forcedPump1.filter.s[1],forcedPump1.filter.s[2],forcedPump2.filter.s[1],forcedPump2.filter.s[2],forcedPump3.filter.s[1],forcedPump3.filter.s[2],forcedPump4.filter.s[1],forcedPump4.filter.s[2],forcedPump5.filter.s[1],forcedPump5.filter.s[2]) * 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 (289): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,2 8,2 8,2 8,2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.03502/14.3, allocations: 13.35 MB / 4.144 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.8063/15.11, allocations: 8.758 MB / 4.153 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/15.11, allocations: 4.25 kB / 4.153 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.007046/15.12, allocations: 2.233 MB / 4.155 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02828/15.14, allocations: 4.549 MB / 4.16 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07666/15.22, allocations: 64.88 MB / 4.223 GB, free: 52.97 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01095/15.23, allocations: 5.133 MB / 4.228 GB, free: 52.09 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01993/15.25, allocations: 2.839 MB / 4.231 GB, free: 52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01217/15.26, allocations: 4.707 MB / 4.235 GB, free: 52 MB / 0.9167 GB Notification: Performance of SimCode: time 1.322e-06/15.26, allocations: 0 / 4.235 GB, free: 52 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.093/17.36, allocations: 301.5 MB / 4.53 GB, free: 146.4 MB / 0.9637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/17.36, allocations: 269.6 kB / 4.53 GB, free: 146.1 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.5/39.86, allocations: 0 / 4.53 GB, free: 146.1 MB / 0.9637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_Pump_Nrpm_stratos_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_Pump_Nrpm_stratos.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe 2>&1)