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: 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.8288/0.8288, allocations: 143.4 MB / 158.3 MB, free: 5.785 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.001189/0.001189, allocations: 183.4 kB / 191.5 MB, free: 5.75 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.582/1.582, allocations: 223.2 MB / 447.7 MB, free: 6.43 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.001039/0.001039, allocations: 96.27 kB / 0.5188 GB, free: 2.777 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001891/0.001891, allocations: 284.7 kB / 0.6005 GB, free: 48.94 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004853, allocations: 19.98 kB / 0.6929 GB, free: 2.273 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3882, allocations: 82.77 MB / 0.7737 GB, free: 26.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.415/4.804, allocations: 1.905 GB / 2.679 GB, free: 77.99 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/4.804, allocations: 94.67 kB / 2.679 GB, free: 77.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.553/10.36, allocations: 1.555 GB / 4.234 GB, free: 78.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.294e-06/10.36, allocations: 0 / 4.234 GB, free: 78.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003507/10.36, allocations: 57.69 kB / 4.234 GB, free: 78.54 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.01081/10.37, allocations: 3.434 MB / 4.237 GB, free: 77.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/10.37, allocations: 6.906 kB / 4.237 GB, free: 77.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006286/10.37, allocations: 0.828 MB / 4.238 GB, free: 77.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008201/10.38, allocations: 3.018 MB / 4.241 GB, free: 76.49 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/10.38, allocations: 118.2 kB / 4.241 GB, free: 76.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003152/10.38, allocations: 160 kB / 4.241 GB, free: 76.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003139/10.39, allocations: 1.68 MB / 4.243 GB, free: 76.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/10.39, allocations: 0 / 4.243 GB, free: 76.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/10.39, allocations: 55.84 kB / 4.243 GB, free: 76.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-05/10.39, allocations: 56.73 kB / 4.243 GB, free: 76.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002888/10.39, allocations: 1.34 MB / 4.244 GB, free: 76.27 MB / 0.7448 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.01258/10.4, allocations: 7.667 MB / 4.252 GB, free: 72.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/10.4, allocations: 1.188 MB / 4.253 GB, free: 72.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/10.41, allocations: 116.5 kB / 4.253 GB, free: 72.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/10.41, allocations: 40.09 kB / 4.253 GB, free: 72.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001216/10.41, allocations: 158.5 kB / 4.253 GB, free: 72.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=85): time 4.319e-06/10.41, allocations: 0 / 4.253 GB, free: 72.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85): time 0.00611/10.41, allocations: 2.134 MB / 4.255 GB, free: 71.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/10.41, allocations: 62.5 kB / 4.255 GB, free: 71.58 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/10.41, allocations: 1.581 MB / 4.257 GB, free: 71.37 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000188/10.42, allocations: 46.83 kB / 4.257 GB, free: 71.34 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000744/10.42, allocations: 1.009 MB / 4.258 GB, free: 71.03 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000269/10.42, allocations: 294.2 kB / 4.258 GB, free: 70.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/10.42, allocations: 24.72 kB / 4.258 GB, free: 70.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.917e-05/10.42, allocations: 348.2 kB / 4.258 GB, free: 70.53 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009253/10.42, allocations: 421 kB / 4.259 GB, free: 70.53 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/10.42, allocations: 0.8628 MB / 4.26 GB, free: 70 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/10.42, allocations: 0.5306 MB / 4.26 GB, free: 69.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/10.42, allocations: 2.438 kB / 4.26 GB, free: 69.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003836/10.42, allocations: 1.612 MB / 4.262 GB, free: 69.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.00093/10.42, allocations: 3.974 MB / 4.266 GB, free: 65.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/10.42, allocations: 9.844 kB / 4.266 GB, free: 65.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009822/10.43, allocations: 265.8 kB / 4.266 GB, free: 65.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/10.43, allocations: 247.1 kB / 4.266 GB, free: 65.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/10.43, allocations: 3.679 MB / 4.27 GB, free: 62.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/10.43, allocations: 138.9 kB / 4.27 GB, free: 62.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/10.43, allocations: 79.95 kB / 4.27 GB, free: 62.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/10.43, allocations: 5.969 kB / 4.27 GB, free: 62.62 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003461/10.44, allocations: 1.457 MB / 4.271 GB, free: 62.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/10.44, allocations: 10.94 kB / 4.271 GB, free: 62.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/10.44, allocations: 332 kB / 4.272 GB, free: 62.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007983/10.44, allocations: 222.2 kB / 4.272 GB, free: 62.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00613/10.44, allocations: 5.272 MB / 4.277 GB, free: 58.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/10.45, allocations: 137.6 kB / 4.277 GB, free: 58.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/10.45, allocations: 67.23 kB / 4.277 GB, free: 58.96 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 112 * 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 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001574/10.45, allocations: 0.6164 MB / 4.278 GB, free: 58.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004664/10.45, allocations: 203 kB / 4.278 GB, free: 58.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/10.45, allocations: 1.468 MB / 4.28 GB, free: 58.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/10.45, allocations: 11.89 kB / 4.28 GB, free: 58.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/10.45, allocations: 3.875 kB / 4.28 GB, free: 58.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002835/10.46, allocations: 1.248 MB / 4.281 GB, free: 58.29 MB / 0.7448 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.007719/10.46, allocations: 3.226 MB / 4.284 GB, free: 57.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/10.46, allocations: 1.219 kB / 4.284 GB, free: 57.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008928/10.46, allocations: 186.9 kB / 4.284 GB, free: 57.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008556/10.46, allocations: 273.7 kB / 4.284 GB, free: 57.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.022e-05/10.46, allocations: 29.36 kB / 4.284 GB, free: 57.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002795/10.47, allocations: 3.551 MB / 4.288 GB, free: 54.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/10.47, allocations: 7.062 kB / 4.288 GB, free: 54.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004546/10.47, allocations: 2.109 MB / 4.29 GB, free: 54.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/10.47, allocations: 369 kB / 4.29 GB, free: 54.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/10.47, allocations: 19.94 kB / 4.29 GB, free: 54.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/10.47, allocations: 130.2 kB / 4.29 GB, free: 54.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/10.47, allocations: 62.05 kB / 4.29 GB, free: 54.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.913e-05/10.48, allocations: 41.77 kB / 4.291 GB, free: 54.09 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001921/10.48, allocations: 1.235 MB / 4.292 GB, free: 53.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/10.48, allocations: 0 / 4.292 GB, free: 53.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005281/10.48, allocations: 1.547 MB / 4.293 GB, free: 53.77 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 () * Number of clocked 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.006768/10.49, allocations: 4.492 MB / 4.298 GB, free: 51.92 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004952/10.49, allocations: 2.183 MB / 4.3 GB, free: 51.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/10.49, allocations: 0 / 4.3 GB, free: 51.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/10.5, allocations: 0.6493 MB / 4.3 GB, free: 51.42 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004835/10.5, allocations: 1.04 MB / 4.301 GB, free: 51.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006688/10.51, allocations: 4.39 MB / 4.306 GB, free: 49.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/10.51, allocations: 1.654 MB / 4.307 GB, free: 48.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002514/10.51, allocations: 496 kB / 4.308 GB, free: 48.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/10.51, allocations: 146.6 kB / 4.308 GB, free: 48.61 MB / 0.7448 GB Notification: Performance of SimCode: time 1.162e-06/10.51, allocations: 0 / 4.308 GB, free: 48.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.1136/10.62, allocations: 82.95 MB / 4.389 GB, free: 13.57 MB / 0.7605 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)