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.6994/0.6994, 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.0009835/0.0009835, allocations: 186.9 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.221/1.221, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008731/0.0008732, allocations: 97.23 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00165/0.00165, allocations: 271.2 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.757e-05/2.759e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3579, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6296/0.9875, allocations: 358.9 MB / 1.115 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.9878, allocations: 90.52 kB / 1.115 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.981/9.969, allocations: 2.716 GB / 3.831 GB, free: 50.71 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.563e-06/9.969, allocations: 0 / 3.831 GB, free: 50.71 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001331/9.97, allocations: 243.6 kB / 3.831 GB, free: 50.68 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.02006/9.99, allocations: 8.404 MB / 3.839 GB, free: 46.97 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/9.99, allocations: 10.31 kB / 3.839 GB, free: 46.97 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001305/9.991, allocations: 0.6174 MB / 3.84 GB, free: 46.91 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/10.01, allocations: 2.824 MB / 3.842 GB, free: 46.28 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.116/10.12, allocations: 60.68 MB / 3.902 GB, free: 42.64 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004727/10.12, allocations: 418.9 kB / 3.902 GB, free: 42.62 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001903/10.12, allocations: 0.5542 MB / 3.903 GB, free: 42.62 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009882/10.13, allocations: 6.201 MB / 3.909 GB, free: 41.84 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.268e-05/10.13, allocations: 10.22 kB / 3.909 GB, free: 41.84 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005435/10.13, allocations: 211 kB / 3.909 GB, free: 41.83 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/10.13, allocations: 187.6 kB / 3.909 GB, free: 41.82 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007373/10.14, allocations: 4.393 MB / 3.913 GB, free: 41.77 MB / 0.8542 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.04713/10.19, allocations: 30.09 MB / 3.943 GB, free: 31.05 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006641/10.2, allocations: 3.509 MB / 3.946 GB, free: 31 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00264/10.2, allocations: 1.699 MB / 3.948 GB, free: 30.97 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02025/10.22, allocations: 11.69 MB / 3.959 GB, free: 27.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/10.22, allocations: 65.25 kB / 3.959 GB, free: 27.19 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004265/10.22, allocations: 0.6479 MB / 3.96 GB, free: 26.99 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=277): time 1.197e-05/10.22, allocations: 2.078 kB / 3.96 GB, free: 26.99 MB / 0.8542 GB Notification: Performance of matching and sorting (n=277): time 0.01209/10.24, allocations: 4.779 MB / 3.965 GB, free: 26.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/10.24, allocations: 80 kB / 3.965 GB, free: 26.23 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0172/10.25, allocations: 10.24 MB / 3.975 GB, free: 25.61 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001071/10.25, allocations: 119.5 kB / 3.975 GB, free: 25.57 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00383/10.26, allocations: 4.856 MB / 3.979 GB, free: 24.56 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001318/10.26, allocations: 0.9637 MB / 3.98 GB, free: 23.94 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/10.26, allocations: 96.06 kB / 3.98 GB, free: 23.94 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002236/10.26, allocations: 0.4922 MB / 3.981 GB, free: 23.63 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002527/10.26, allocations: 1.806 MB / 3.983 GB, free: 23.61 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003331/10.27, allocations: 3.97 MB / 3.987 GB, free: 20.95 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/10.27, allocations: 2.307 MB / 3.989 GB, free: 20.85 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.776e-05/10.27, allocations: 16.72 kB / 3.989 GB, free: 20.85 MB / 0.8542 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.01465/10.28, allocations: 6.832 MB / 3.996 GB, free: 20.14 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.007789/10.29, allocations: 34.73 MB / 4.029 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001387/10.29, allocations: 59.69 kB / 4.03 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002205/10.29, allocations: 0.9017 MB / 4.03 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005234/10.3, allocations: 1.249 MB / 4.032 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003796/10.3, allocations: 3.937 MB / 4.035 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007705/10.31, allocations: 472.2 kB / 4.036 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/10.31, allocations: 433.5 kB / 4.036 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/10.31, allocations: 10.23 kB / 4.036 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01105/10.32, allocations: 6.245 MB / 4.042 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/10.32, allocations: 59.91 kB / 4.042 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/10.32, allocations: 0.9008 MB / 4.043 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004758/10.33, allocations: 1.165 MB / 4.044 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004027/10.33, allocations: 3.939 MB / 4.048 GB, free: 9.188 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008473/10.34, allocations: 451.8 kB / 4.049 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/10.34, allocations: 377.1 kB / 4.049 GB, free: 9.141 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 () * 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.001434/10.34, allocations: 411.1 kB / 4.05 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002297/10.35, allocations: 0.9235 MB / 4.05 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/10.36, allocations: 6.235 MB / 4.057 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.223e-05/10.36, allocations: 40.89 kB / 4.057 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/10.36, allocations: 0 / 4.057 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.619e-05/10.36, allocations: 15.84 kB / 4.057 GB, free: 7.941 MB / 0.8855 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.0255/10.39, allocations: 13.61 MB / 4.07 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/10.39, allocations: 2.781 kB / 4.07 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002982/10.39, allocations: 0.5972 MB / 4.07 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001662/10.39, allocations: 0.6895 MB / 4.071 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004533/10.39, allocations: 127 kB / 4.071 GB, free: 6.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/10.39, allocations: 3.535 MB / 4.075 GB, free: 3.293 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/10.39, allocations: 7.688 kB / 4.075 GB, free: 3.293 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01534/10.41, allocations: 7.618 MB / 4.082 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007009/10.42, allocations: 1.919 MB / 4.084 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003159/10.42, allocations: 69.61 kB / 4.084 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006368/10.43, allocations: 428.5 kB / 4.084 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00047/10.43, allocations: 211.8 kB / 4.085 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004072/10.43, allocations: 186.9 kB / 4.085 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01333/10.44, allocations: 7.77 MB / 4.092 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.61e-07/10.44, allocations: 0 / 4.092 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01463/10.46, allocations: 4.322 MB / 4.097 GB, free: 10.66 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 () * 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.01757/10.47, allocations: 12.6 MB / 4.109 GB, free: 4.637 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01469/10.49, allocations: 8.43 MB / 4.117 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/10.49, allocations: 0 / 4.117 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003248/10.49, allocations: 2 MB / 4.119 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01866/10.51, allocations: 4.56 MB / 4.124 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.026/11.54, allocations: 15.48 MB / 4.139 GB, free: 97.38 MB / 0.9168 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004793/11.54, allocations: 5.152 MB / 4.144 GB, free: 96.47 MB / 0.9168 GB Notification: Performance of simCode: alias equations: time 0.01802/11.56, allocations: 4.799 MB / 4.148 GB, free: 96.38 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005407/11.56, allocations: 4.476 MB / 4.153 GB, free: 96.38 MB / 0.9168 GB Notification: Performance of SimCode: time 7.41e-07/11.56, allocations: 1.75 kB / 4.153 GB, free: 96.38 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3908/11.95, allocations: 324.2 MB / 4.469 GB, free: 5.102 MB / 0.9637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/11.95, allocations: 237.6 kB / 4.47 GB, free: 4.785 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/26.17, allocations: 4 kB / 4.47 GB, free: 4.781 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)