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: translateModel(BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos") translateModel(BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7896/0.7896, 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.001062/0.001063, allocations: 182.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.348/1.348, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0009293/0.0009293, allocations: 92.55 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 270.3 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.963e-05, allocations: 8 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.4606, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7373/1.198, allocations: 358.9 MB / 1.115 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/1.198, allocations: 95.06 kB / 1.115 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 10.99/12.19, allocations: 2.716 GB / 3.831 GB, free: 50.91 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.713e-06/12.19, allocations: 0 / 3.831 GB, free: 50.91 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.002413/12.19, allocations: 239.2 kB / 3.831 GB, free: 50.88 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.02806/12.22, allocations: 8.403 MB / 3.839 GB, free: 47.16 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/12.22, allocations: 7.938 kB / 3.839 GB, free: 47.16 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0179/12.24, allocations: 2.825 MB / 3.842 GB, free: 46.54 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1316/12.37, allocations: 60.68 MB / 3.901 GB, free: 42.89 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004755/12.37, allocations: 426.3 kB / 3.902 GB, free: 42.88 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002195/12.37, allocations: 0.5493 MB / 3.902 GB, free: 42.88 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/12.39, allocations: 6.206 MB / 3.908 GB, free: 42.09 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.244e-05/12.39, allocations: 8.25 kB / 3.908 GB, free: 42.09 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005869/12.39, allocations: 210.4 kB / 3.908 GB, free: 42.09 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/12.39, allocations: 183.5 kB / 3.909 GB, free: 42.07 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009372/12.4, allocations: 4.39 MB / 3.913 GB, free: 42.03 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.05774/12.45, allocations: 30.1 MB / 3.942 GB, free: 31.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008572/12.46, allocations: 3.505 MB / 3.946 GB, free: 31.25 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005059/12.47, allocations: 1.699 MB / 3.947 GB, free: 31.23 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02658/12.49, allocations: 11.71 MB / 3.959 GB, free: 27.48 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/12.49, allocations: 63.19 kB / 3.959 GB, free: 27.44 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005059/12.5, allocations: 0.6377 MB / 3.959 GB, free: 27.25 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=277): time 1.633e-05/12.5, allocations: 0.5625 kB / 3.959 GB, free: 27.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=277): time 0.0136/12.51, allocations: 4.794 MB / 3.964 GB, free: 26.55 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/12.51, allocations: 78.59 kB / 3.964 GB, free: 26.48 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02274/12.54, allocations: 10.24 MB / 3.974 GB, free: 25.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001359/12.54, allocations: 108.9 kB / 3.974 GB, free: 25.83 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.005466/12.54, allocations: 4.841 MB / 3.979 GB, free: 24.83 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001747/12.54, allocations: 0.9703 MB / 3.98 GB, free: 24.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/12.55, allocations: 89.39 kB / 3.98 GB, free: 24.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003009/12.55, allocations: 0.4952 MB / 3.981 GB, free: 23.89 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002801/12.55, allocations: 1.809 MB / 3.982 GB, free: 23.87 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003752/12.55, allocations: 3.965 MB / 3.986 GB, free: 21.21 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00342/12.56, allocations: 2.311 MB / 3.988 GB, free: 21.11 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.341e-05/12.56, allocations: 20 kB / 3.988 GB, free: 21.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.01423/12.57, allocations: 6.833 MB / 3.995 GB, free: 20.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.011/12.58, allocations: 34.73 MB / 4.029 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002391/12.58, allocations: 60.38 kB / 4.029 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002581/12.58, allocations: 0.8964 MB / 4.03 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006066/12.59, allocations: 1.251 MB / 4.031 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004578/12.59, allocations: 3.944 MB / 4.035 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009524/12.6, allocations: 472.6 kB / 4.035 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001588/12.61, allocations: 431.9 kB / 4.036 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/12.61, allocations: 2 kB / 4.036 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01137/12.62, allocations: 6.248 MB / 4.042 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/12.62, allocations: 63.97 kB / 4.042 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/12.62, allocations: 0.897 MB / 4.043 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004627/12.62, allocations: 1.174 MB / 4.044 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004197/12.63, allocations: 3.933 MB / 4.048 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008386/12.64, allocations: 452 kB / 4.048 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/12.64, allocations: 381.5 kB / 4.049 GB, free: 9.391 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.001548/12.64, allocations: 412.7 kB / 4.049 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002945/12.64, allocations: 0.9174 MB / 4.05 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01616/12.66, allocations: 6.235 MB / 4.056 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.929e-05/12.66, allocations: 40.39 kB / 4.056 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/12.66, allocations: 0 / 4.056 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.786e-05/12.66, allocations: 15 kB / 4.056 GB, free: 8.191 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.03106/12.69, allocations: 13.61 MB / 4.069 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/12.69, allocations: 3.953 kB / 4.069 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00288/12.69, allocations: 0.5932 MB / 4.07 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001761/12.69, allocations: 0.6953 MB / 4.071 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003422/12.69, allocations: 119.1 kB / 4.071 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002986/12.7, allocations: 3.544 MB / 4.074 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/12.7, allocations: 3.938 kB / 4.074 GB, free: 4.102 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/12.71, allocations: 7.578 MB / 4.082 GB, free: 0.6406 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007656/12.72, allocations: 1.912 MB / 4.084 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003366/12.72, allocations: 67.56 kB / 4.084 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007431/12.73, allocations: 435.5 kB / 4.084 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005739/12.73, allocations: 210.5 kB / 4.084 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000477/12.73, allocations: 184.2 kB / 4.084 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01524/12.75, allocations: 7.77 MB / 4.092 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.11e-07/12.75, allocations: 3.938 kB / 4.092 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0213/12.77, allocations: 4.32 MB / 4.096 GB, free: 11.34 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.008705/12.78, allocations: 4.624 MB / 4.101 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01968/12.8, allocations: 8.433 MB / 4.109 GB, free: 6.129 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/12.8, allocations: 0 / 4.109 GB, free: 6.129 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004086/12.8, allocations: 2.003 MB / 4.111 GB, free: 5.434 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02325/12.82, allocations: 4.558 MB / 4.115 GB, free: 4.195 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03252/12.86, allocations: 13.27 MB / 4.128 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008049/12.86, allocations: 5.145 MB / 4.133 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.02541/12.89, allocations: 4.796 MB / 4.138 GB, free: 1.461 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002697/12.89, allocations: 0.5734 MB / 4.139 GB, free: 0.9609 MB / 0.9167 GB Notification: Performance of SimCode: time 8.72e-07/12.89, allocations: 0 / 4.139 GB, free: 0.9609 MB / 0.9167 GB Notification: Performance of Templates: time 1.716/14.61, allocations: 233.2 MB / 4.366 GB, free: 58.9 MB / 0.9168 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe 2>&1)