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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7663/0.7663, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001108, allocations: 172.9 kB / 169.7 MB, free: 1.727 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.932/1.932, allocations: 205.1 MB / 404.5 MB, free: 1.625 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.0009593/0.0009592, allocations: 91.66 kB / 481.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.726e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1888, allocations: 76.75 MB / 0.6282 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.095/6.284, allocations: 2.191 GB / 2.819 GB, free: 84.11 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/6.285, allocations: 91.64 kB / 2.819 GB, free: 84.07 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.018/12.3, allocations: 1.52 GB / 4.339 GB, free: 57.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.664e-06/12.3, allocations: 0 / 4.339 GB, free: 57.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002878/12.3, allocations: 68.48 kB / 4.339 GB, free: 57.73 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.008653/12.31, allocations: 2.57 MB / 4.342 GB, free: 56.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/12.31, allocations: 7.594 kB / 4.342 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005308/12.31, allocations: 200.9 kB / 4.342 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006525/12.32, allocations: 0.89 MB / 4.343 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009272/12.33, allocations: 3.08 MB / 4.346 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/12.33, allocations: 118.4 kB / 4.346 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003729/12.33, allocations: 152.6 kB / 4.346 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003781/12.33, allocations: 1.685 MB / 4.348 GB, free: 55.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/12.33, allocations: 3.562 kB / 4.348 GB, free: 55.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/12.33, allocations: 56.25 kB / 4.348 GB, free: 55.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/12.33, allocations: 56.83 kB / 4.348 GB, free: 55.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002794/12.34, allocations: 1.286 MB / 4.349 GB, free: 55.33 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.01103/12.35, allocations: 7.661 MB / 4.357 GB, free: 51.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002724/12.35, allocations: 1.183 MB / 4.358 GB, free: 51.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/12.35, allocations: 451.3 kB / 4.358 GB, free: 51.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/12.35, allocations: 108 kB / 4.358 GB, free: 51.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/12.35, allocations: 45.44 kB / 4.358 GB, free: 51.12 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001357/12.35, allocations: 165.4 kB / 4.358 GB, free: 51.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=84): time 4.018e-06/12.35, allocations: 0 / 4.358 GB, free: 51.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.003956/12.36, allocations: 1.254 MB / 4.36 GB, free: 50.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/12.36, allocations: 62.66 kB / 4.36 GB, free: 50.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/12.36, allocations: 1.571 MB / 4.361 GB, free: 50.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/12.36, allocations: 48.02 kB / 4.361 GB, free: 50.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007438/12.36, allocations: 0.9963 MB / 4.362 GB, free: 50.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/12.36, allocations: 297 kB / 4.363 GB, free: 49.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/12.36, allocations: 23.09 kB / 4.363 GB, free: 49.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001086/12.36, allocations: 347.6 kB / 4.363 GB, free: 49.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000599/12.36, allocations: 373.5 kB / 4.363 GB, free: 49.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000803/12.36, allocations: 0.7991 MB / 4.364 GB, free: 48.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000755/12.36, allocations: 482 kB / 4.364 GB, free: 48.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/12.36, allocations: 3.5 kB / 4.364 GB, free: 48.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003029/12.36, allocations: 1.505 MB / 4.366 GB, free: 47.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009087/12.37, allocations: 3.894 MB / 4.37 GB, free: 43.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/12.37, allocations: 18.08 kB / 4.37 GB, free: 43.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000856/12.37, allocations: 280.2 kB / 4.37 GB, free: 43.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/12.37, allocations: 271.6 kB / 4.37 GB, free: 43.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/12.37, allocations: 3.618 MB / 4.374 GB, free: 40.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/12.37, allocations: 140 kB / 4.374 GB, free: 40.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/12.37, allocations: 83.28 kB / 4.374 GB, free: 40.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/12.37, allocations: 7.219 kB / 4.374 GB, free: 40.38 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002978/12.38, allocations: 1.347 MB / 4.375 GB, free: 39.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/12.38, allocations: 11.41 kB / 4.375 GB, free: 39.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/12.38, allocations: 331 kB / 4.376 GB, free: 39.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007698/12.38, allocations: 219.7 kB / 4.376 GB, free: 39.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006274/12.38, allocations: 5.176 MB / 4.381 GB, free: 35.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/12.39, allocations: 136.5 kB / 4.381 GB, free: 35.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/12.39, allocations: 68.59 kB / 4.381 GB, free: 35.57 MB / 0.698 GB 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.0005713/12.39, allocations: 168.3 kB / 4.381 GB, free: 35.42 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007274/12.39, allocations: 198 kB / 4.382 GB, free: 35.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005082/12.39, allocations: 1.459 MB / 4.383 GB, free: 34.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/12.39, allocations: 11.09 kB / 4.383 GB, free: 34.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/12.39, allocations: 0 / 4.383 GB, free: 34.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003404/12.4, allocations: 1.241 MB / 4.384 GB, free: 34.27 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.01299/12.41, allocations: 3.189 MB / 4.387 GB, free: 32.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/12.41, allocations: 0 / 4.387 GB, free: 32.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/12.41, allocations: 219.4 kB / 4.387 GB, free: 32.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008631/12.41, allocations: 279.8 kB / 4.388 GB, free: 32.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/12.41, allocations: 25.31 kB / 4.388 GB, free: 32.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003792/12.42, allocations: 4.235 MB / 4.392 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/12.42, allocations: 0 / 4.392 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004866/12.42, allocations: 2.044 MB / 4.394 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001779/12.42, allocations: 360.8 kB / 4.394 GB, free: 27.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008846/12.42, allocations: 19.84 kB / 4.394 GB, free: 27.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/12.43, allocations: 145.1 kB / 4.394 GB, free: 27.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/12.43, allocations: 63.02 kB / 4.394 GB, free: 27.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/12.43, allocations: 42.94 kB / 4.395 GB, free: 27.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003379/12.43, allocations: 1.212 MB / 4.396 GB, free: 26.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/12.43, allocations: 3.938 kB / 4.396 GB, free: 26.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007032/12.44, allocations: 1.498 MB / 4.397 GB, free: 25.38 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.01347/12.45, allocations: 7.266 MB / 4.404 GB, free: 18.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005392/12.46, allocations: 2.127 MB / 4.406 GB, free: 16.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/12.46, allocations: 0 / 4.406 GB, free: 16.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/12.46, allocations: 0.6285 MB / 4.407 GB, free: 16.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005795/12.46, allocations: 1.049 MB / 4.408 GB, free: 15.33 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009812/12.47, allocations: 3.419 MB / 4.411 GB, free: 12.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/12.48, allocations: 1.657 MB / 4.413 GB, free: 10.92 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003613/12.48, allocations: 0.7626 MB / 4.414 GB, free: 10.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/12.48, allocations: 0.8469 MB / 4.414 GB, free: 9.645 MB / 0.698 GB Notification: Performance of SimCode: time 2.214e-06/12.48, allocations: 0 / 4.414 GB, free: 9.645 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8129/13.29, allocations: 127 MB / 4.538 GB, free: 60.99 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/13.29, allocations: 224.9 kB / 4.539 GB, free: 60.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/20.05, allocations: 0 / 4.539 GB, free: 60.7 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)