Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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.7541/0.7541, allocations: 127.3 MB / 139.8 MB, free: 15.46 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.001371/0.001371, allocations: 188.8 kB / 169.7 MB, free: 1.73 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.869/1.869, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.0009765/0.0009766, allocations: 89.06 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.077e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1509, allocations: 76.77 MB / 0.6283 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.442, allocations: 405.4 MB / 1.024 GB, free: 110 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/1.442, allocations: 92.88 kB / 1.024 GB, free: 109.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.449/6.892, allocations: 1.398 GB / 2.422 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.567e-06/6.892, allocations: 0 / 2.422 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001133/6.893, allocations: 103.9 kB / 2.422 GB, free: 10.88 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.0188/6.912, allocations: 3.67 MB / 2.426 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.855e-05/6.912, allocations: 12.03 kB / 2.426 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001675/6.913, allocations: 287.3 kB / 2.426 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/6.928, allocations: 1.286 MB / 2.428 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6511/7.579, allocations: 27.53 MB / 2.454 GB, free: 50.69 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004245/7.58, allocations: 183.5 kB / 2.455 GB, free: 50.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001425/7.581, allocations: 239.2 kB / 2.455 GB, free: 50.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/7.591, allocations: 2.66 MB / 2.457 GB, free: 50.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001264/7.592, allocations: 2.594 kB / 2.457 GB, free: 50.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008455/7.592, allocations: 92.59 kB / 2.458 GB, free: 50.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-05/7.592, allocations: 50.62 kB / 2.458 GB, free: 50.31 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00667/7.599, allocations: 1.845 MB / 2.459 GB, free: 50.29 MB / 0.7136 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.02584/7.625, allocations: 12.05 MB / 2.471 GB, free: 44.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004183/7.629, allocations: 1.511 MB / 2.473 GB, free: 44.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/7.631, allocations: 0.6254 MB / 2.473 GB, free: 44.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009888/7.641, allocations: 3.917 MB / 2.477 GB, free: 42.58 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/7.641, allocations: 50.25 kB / 2.477 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002855/7.644, allocations: 226.1 kB / 2.477 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=115): time 1.182e-05/7.644, allocations: 1.438 kB / 2.477 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=115): time 0.009562/7.653, allocations: 2.301 MB / 2.48 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/7.653, allocations: 64.67 kB / 2.48 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008139/7.662, allocations: 2.916 MB / 2.483 GB, free: 41.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000757/7.662, allocations: 62.53 kB / 2.483 GB, free: 41.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001723/7.664, allocations: 1.772 MB / 2.484 GB, free: 41.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007586/7.665, allocations: 403.3 kB / 2.485 GB, free: 41.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/7.665, allocations: 35.45 kB / 2.485 GB, free: 41.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001409/7.665, allocations: 380.7 kB / 2.485 GB, free: 40.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/7.666, allocations: 0.6689 MB / 2.486 GB, free: 40.92 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/7.668, allocations: 1.436 MB / 2.487 GB, free: 39.99 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/7.669, allocations: 0.8423 MB / 2.488 GB, free: 39.97 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/7.669, allocations: 7.062 kB / 2.488 GB, free: 39.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.005791/7.675, allocations: 2.741 MB / 2.491 GB, free: 39.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001882/7.677, allocations: 8.148 MB / 2.499 GB, free: 31.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.069e-05/7.677, allocations: 20.25 kB / 2.499 GB, free: 31.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/7.679, allocations: 0.668 MB / 2.499 GB, free: 31.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/7.681, allocations: 391 kB / 2.5 GB, free: 31.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003874/7.685, allocations: 5.173 MB / 2.505 GB, free: 27.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004359/7.689, allocations: 239.4 kB / 2.505 GB, free: 27.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000844/7.69, allocations: 174.6 kB / 2.505 GB, free: 27.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/7.69, allocations: 10.44 kB / 2.505 GB, free: 27.09 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007937/7.698, allocations: 2.717 MB / 2.508 GB, free: 26.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.592e-05/7.698, allocations: 19.16 kB / 2.508 GB, free: 26.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002968/7.701, allocations: 1.052 MB / 2.509 GB, free: 26.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/7.703, allocations: 359.9 kB / 2.509 GB, free: 26.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/7.723, allocations: 14 MB / 2.523 GB, free: 34.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004525/7.727, allocations: 205.3 kB / 2.523 GB, free: 34.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007579/7.728, allocations: 151.4 kB / 2.523 GB, free: 34.83 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 177 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.00135/7.73, allocations: 227.1 kB / 2.523 GB, free: 34.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/7.731, allocations: 358.8 kB / 2.524 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009785/7.741, allocations: 2.969 MB / 2.527 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.933e-05/7.741, allocations: 15.56 kB / 2.527 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/7.741, allocations: 0 / 2.527 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.823e-05/7.741, allocations: 11.44 kB / 2.527 GB, free: 34.3 MB / 0.7292 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.01786/7.759, allocations: 4.932 MB / 2.531 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/7.759, allocations: 0.9688 kB / 2.531 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/7.76, allocations: 200.6 kB / 2.532 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/7.762, allocations: 0.6653 MB / 2.532 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/7.762, allocations: 45.66 kB / 2.532 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004324/7.767, allocations: 5.048 MB / 2.537 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/7.767, allocations: 3.125 kB / 2.537 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008303/7.775, allocations: 2.587 MB / 2.54 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002571/7.778, allocations: 0.6039 MB / 2.54 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001424/7.779, allocations: 24.19 kB / 2.54 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003384/7.782, allocations: 224.8 kB / 2.541 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/7.783, allocations: 85.88 kB / 2.541 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002469/7.783, allocations: 76.81 kB / 2.541 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005543/7.789, allocations: 2.252 MB / 2.543 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.91e-07/7.789, allocations: 0 / 2.543 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01181/7.8, allocations: 1.976 MB / 2.545 GB, free: 28.43 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 6,1 4,1 6,1 4,1 6,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01337/7.814, allocations: 5.453 MB / 2.55 GB, free: 26.92 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.008568/7.822, allocations: 3.774 MB / 2.554 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/7.822, allocations: 2.906 kB / 2.554 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001968/7.824, allocations: 0.823 MB / 2.555 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009373/7.834, allocations: 1.677 MB / 2.556 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/7.854, allocations: 5.9 MB / 2.562 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/7.856, allocations: 2.316 MB / 2.564 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006313/7.863, allocations: 1.272 MB / 2.566 GB, free: 24.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002214/7.865, allocations: 1.554 MB / 2.567 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of SimCode: time 1.142e-06/7.865, allocations: 0 / 2.567 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2434/8.108, allocations: 141.3 MB / 2.705 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/8.109, allocations: 234.2 kB / 2.705 GB, free: 9.887 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/15.74, allocations: 4 kB / 2.705 GB, free: 9.883 MB / 0.7605 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)