Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.9377/0.9377, allocations: 127.4 MB / 134.9 MB, free: 3.469 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001338/0.001338, allocations: 191.8 kB / 164.7 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009981/0.0009982, allocations: 89.34 kB / 476.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.52e-05/1.521e-05, allocations: 4.969 kB / 0.5466 GB, free: 95.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1568, allocations: 76.76 MB / 0.6215 GB, free: 43.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.293/5.45, allocations: 2.19 GB / 2.812 GB, free: 240.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/5.451, allocations: 90.3 kB / 2.812 GB, free: 240.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.04/10.49, allocations: 1.503 GB / 4.315 GB, free: 2.863 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/10.49, allocations: 7.938 kB / 4.315 GB, free: 2.855 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005427/10.49, allocations: 55.98 kB / 4.315 GB, free: 2.801 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.008917/10.5, allocations: 2.567 MB / 4.317 GB, free: 184 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/10.5, allocations: 16.03 kB / 4.317 GB, free: 168 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5196/11.02, allocations: 0.8783 MB / 4.318 GB, free: 70.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/11.03, allocations: 3.076 MB / 4.321 GB, free: 70.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/11.03, allocations: 44.72 kB / 4.321 GB, free: 70.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004284/11.03, allocations: 91.62 kB / 4.321 GB, free: 70.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002936/11.03, allocations: 1.226 MB / 4.322 GB, free: 70.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/11.04, allocations: 1.422 MB / 4.324 GB, free: 70.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/11.04, allocations: 7.172 kB / 4.324 GB, free: 70.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/11.04, allocations: 1.188 kB / 4.324 GB, free: 70.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.356e-05/11.04, allocations: 51.47 kB / 4.324 GB, free: 70.16 MB / 0.698 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.0116/11.05, allocations: 7.389 MB / 4.331 GB, free: 66.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/11.05, allocations: 1.191 MB / 4.332 GB, free: 66.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006527/11.05, allocations: 480.8 kB / 4.333 GB, free: 66.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/11.05, allocations: 116.8 kB / 4.333 GB, free: 66.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/11.05, allocations: 45.28 kB / 4.333 GB, free: 66.18 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001296/11.05, allocations: 124.6 kB / 4.333 GB, free: 66.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=84): time 3.958e-06/11.05, allocations: 0 / 4.333 GB, free: 66.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.003808/11.06, allocations: 1.341 MB / 4.334 GB, free: 65.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/11.06, allocations: 62.17 kB / 4.334 GB, free: 65.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/11.06, allocations: 1.346 MB / 4.336 GB, free: 65.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001831/11.06, allocations: 31.17 kB / 4.336 GB, free: 65.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007278/11.06, allocations: 1.002 MB / 4.337 GB, free: 65.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/11.06, allocations: 284.9 kB / 4.337 GB, free: 65.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/11.06, allocations: 0 / 4.337 GB, free: 65.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.029e-05/11.06, allocations: 347.9 kB / 4.337 GB, free: 64.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/11.06, allocations: 408.1 kB / 4.338 GB, free: 64.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008266/11.06, allocations: 0.8168 MB / 4.338 GB, free: 64.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/11.06, allocations: 0.5735 MB / 4.339 GB, free: 64.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/11.06, allocations: 3.562 kB / 4.339 GB, free: 64.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003341/11.07, allocations: 1.585 MB / 4.34 GB, free: 64.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008574/11.07, allocations: 3.861 MB / 4.344 GB, free: 60.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/11.07, allocations: 13.83 kB / 4.344 GB, free: 60.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009624/11.07, allocations: 328.1 kB / 4.345 GB, free: 60.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/11.07, allocations: 270.1 kB / 4.345 GB, free: 60.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003257/11.07, allocations: 3.67 MB / 4.348 GB, free: 57.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/11.08, allocations: 122 kB / 4.348 GB, free: 57.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/11.08, allocations: 78.12 kB / 4.349 GB, free: 57.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/11.08, allocations: 3.531 kB / 4.349 GB, free: 57.45 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003387/11.08, allocations: 1.272 MB / 4.35 GB, free: 57.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/11.08, allocations: 8.562 kB / 4.35 GB, free: 57.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/11.08, allocations: 324 kB / 4.35 GB, free: 57.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008012/11.08, allocations: 220.3 kB / 4.35 GB, free: 57.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006306/11.09, allocations: 4.994 MB / 4.355 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/11.09, allocations: 109.1 kB / 4.355 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/11.09, allocations: 69.64 kB / 4.355 GB, free: 53.96 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 109 * 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.0006186/11.09, allocations: 139.3 kB / 4.356 GB, free: 53.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007131/11.09, allocations: 186.2 kB / 4.356 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00494/11.1, allocations: 1.412 MB / 4.357 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/11.1, allocations: 14.67 kB / 4.357 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/11.1, allocations: 4.625 kB / 4.357 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003792/11.1, allocations: 1.227 MB / 4.358 GB, free: 53.42 MB / 0.698 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.008864/11.11, allocations: 2.998 MB / 4.361 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/11.11, allocations: 0 / 4.361 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/11.11, allocations: 228.8 kB / 4.361 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006016/11.11, allocations: 228.4 kB / 4.362 GB, free: 52.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/11.11, allocations: 17.52 kB / 4.362 GB, free: 52.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/11.12, allocations: 4.143 MB / 4.366 GB, free: 49.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/11.12, allocations: 10.08 kB / 4.366 GB, free: 49.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005339/11.12, allocations: 1.987 MB / 4.368 GB, free: 48.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/11.12, allocations: 350.5 kB / 4.368 GB, free: 48.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005747/11.12, allocations: 3.812 kB / 4.368 GB, free: 48.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/11.12, allocations: 120.1 kB / 4.368 GB, free: 48.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/11.12, allocations: 70.33 kB / 4.368 GB, free: 48.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/11.12, allocations: 40.34 kB / 4.368 GB, free: 48.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002038/11.13, allocations: 1.018 MB / 4.369 GB, free: 48.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/11.13, allocations: 0 / 4.369 GB, free: 48.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006563/11.13, allocations: 1.404 MB / 4.371 GB, free: 48.58 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 65 * 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,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.007325/11.14, allocations: 4.74 MB / 4.375 GB, free: 46.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004916/11.15, allocations: 2.065 MB / 4.377 GB, free: 46.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/11.15, allocations: 4.062 kB / 4.377 GB, free: 46.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/11.15, allocations: 0.6061 MB / 4.378 GB, free: 46.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005455/11.15, allocations: 0.9171 MB / 4.379 GB, free: 46.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007042/11.16, allocations: 2.773 MB / 4.381 GB, free: 45.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/11.16, allocations: 1.661 MB / 4.383 GB, free: 44.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0037/11.17, allocations: 0.6959 MB / 4.384 GB, free: 44.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/11.17, allocations: 117.5 kB / 4.384 GB, free: 44.84 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/11.17, allocations: 0 / 4.384 GB, free: 44.84 MB / 0.698 GB Notification: Performance of Templates: time 0.1016/11.27, allocations: 63.44 MB / 4.446 GB, free: 40.99 MB / 0.698 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)