Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.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.Examples.Performance.Example2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example2",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.7225/0.7225, allocations: 127.3 MB / 139.8 MB, free: 15.49 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.001132/0.001132, allocations: 188.7 kB / 169.7 MB, free: 1.75 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.44/1.44, allocations: 205.1 MB / 404.5 MB, free: 1.664 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.0007976/0.0007978, allocations: 93 kB / 481.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.936e-05/2.954e-05, allocations: 7.984 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.133, allocations: 76.75 MB / 0.6282 GB, free: 9.949 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9705/1.104, allocations: 371.6 MB / 0.9912 GB, free: 162.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/1.104, allocations: 91.94 kB / 0.9912 GB, free: 162.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.772/2.876, allocations: 483.5 MB / 1.463 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.715e-06/2.876, allocations: 2.469 kB / 1.463 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002771/2.876, allocations: 51.44 kB / 1.463 GB, free: 122.1 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004681/2.881, allocations: 1.513 MB / 1.465 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/2.881, allocations: 12.62 kB / 1.465 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003635/2.881, allocations: 123.3 kB / 1.465 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/2.883, allocations: 278.8 kB / 1.465 GB, free: 121.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005222/2.888, allocations: 2.058 MB / 1.467 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.522e-05/2.888, allocations: 66.41 kB / 1.467 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/2.889, allocations: 85.78 kB / 1.467 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/2.891, allocations: 1.048 MB / 1.468 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/2.891, allocations: 10.75 kB / 1.468 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.585e-05/2.891, allocations: 33.2 kB / 1.469 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/2.891, allocations: 17.66 kB / 1.469 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/2.893, allocations: 0.7689 MB / 1.469 GB, free: 120.5 MB / 0.6355 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.005969/2.899, allocations: 4.639 MB / 1.474 GB, free: 117.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/2.901, allocations: 0.6335 MB / 1.474 GB, free: 117 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/2.902, allocations: 283.8 kB / 1.475 GB, free: 116.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002526/2.904, allocations: 1.615 MB / 1.476 GB, free: 115.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001423/2.906, allocations: 437.6 kB / 1.477 GB, free: 115.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006038/2.906, allocations: 110 kB / 1.477 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=43): time 4.598e-06/2.906, allocations: 0 / 1.477 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43): time 0.005157/2.911, allocations: 1.064 MB / 1.478 GB, free: 115.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/2.912, allocations: 66.53 kB / 1.478 GB, free: 115.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/2.913, allocations: 1.101 MB / 1.479 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.109e-05/2.913, allocations: 45.36 kB / 1.479 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/2.914, allocations: 0.6456 MB / 1.48 GB, free: 114.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/2.914, allocations: 154.8 kB / 1.48 GB, free: 114.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/2.914, allocations: 14.16 kB / 1.48 GB, free: 114.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.405e-05/2.914, allocations: 335.5 kB / 1.48 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/2.915, allocations: 231.4 kB / 1.48 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/2.915, allocations: 0.5652 MB / 1.481 GB, free: 113.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/2.916, allocations: 343 kB / 1.481 GB, free: 113 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/2.916, allocations: 6.25 kB / 1.481 GB, free: 113 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003749/2.919, allocations: 1.192 MB / 1.482 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006631/2.92, allocations: 3.13 MB / 1.485 GB, free: 109.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/2.92, allocations: 10.94 kB / 1.485 GB, free: 109.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000466/2.92, allocations: 210.1 kB / 1.486 GB, free: 109.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/2.921, allocations: 142.6 kB / 1.486 GB, free: 109.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/2.923, allocations: 0.9498 MB / 1.487 GB, free: 108.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/2.924, allocations: 95.12 kB / 1.487 GB, free: 108.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/2.924, allocations: 44.59 kB / 1.487 GB, free: 108.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/2.924, allocations: 3.875 kB / 1.487 GB, free: 108.6 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00133/2.926, allocations: 0.8454 MB / 1.488 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/2.926, allocations: 7.781 kB / 1.488 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/2.926, allocations: 106.4 kB / 1.488 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/2.926, allocations: 140.6 kB / 1.488 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/2.928, allocations: 2.164 MB / 1.49 GB, free: 106.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009827/2.929, allocations: 73.77 kB / 1.49 GB, free: 106.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/2.929, allocations: 35.86 kB / 1.49 GB, free: 106.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.000222/2.93, allocations: 154.8 kB / 1.49 GB, free: 106.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/2.93, allocations: 125.6 kB / 1.49 GB, free: 106.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/2.934, allocations: 1.05 MB / 1.491 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/2.934, allocations: 7.656 kB / 1.491 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/2.934, allocations: 0 / 1.491 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00297/2.937, allocations: 1.037 MB / 1.492 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005146/2.942, allocations: 1.982 MB / 1.494 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/2.942, allocations: 0 / 1.494 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/2.942, allocations: 71.69 kB / 1.494 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003393/2.942, allocations: 204.3 kB / 1.495 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/2.942, allocations: 14.17 kB / 1.495 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007384/2.95, allocations: 3.265 MB / 1.498 GB, free: 102.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/2.95, allocations: 3.609 kB / 1.498 GB, free: 102.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003886/2.954, allocations: 1.357 MB / 1.499 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007524/2.955, allocations: 266.6 kB / 1.499 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/2.955, allocations: 10.59 kB / 1.499 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000968/2.956, allocations: 77.02 kB / 1.5 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/2.956, allocations: 46.06 kB / 1.5 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-05/2.956, allocations: 21.8 kB / 1.5 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00142/2.958, allocations: 0.8832 MB / 1.5 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.11e-07/2.958, allocations: 4 kB / 1.5 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002969/2.961, allocations: 0.7408 MB / 1.501 GB, free: 101.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00534/2.966, allocations: 2.566 MB / 1.504 GB, free: 100 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003316/2.969, allocations: 1.362 MB / 1.505 GB, free: 99.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/2.969, allocations: 0 / 1.505 GB, free: 99.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/2.971, allocations: 0.5317 MB / 1.506 GB, free: 99.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002781/2.974, allocations: 0.5594 MB / 1.506 GB, free: 99.05 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/2.978, allocations: 2.075 MB / 1.508 GB, free: 98.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/2.979, allocations: 1.298 MB / 1.509 GB, free: 97.42 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002013/2.981, allocations: 0.5651 MB / 1.51 GB, free: 97.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/2.982, allocations: 483 kB / 1.51 GB, free: 96.98 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/2.982, allocations: 0 / 1.51 GB, free: 96.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07356/3.055, allocations: 46.89 MB / 1.556 GB, free: 61.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/3.056, allocations: 222.3 kB / 1.556 GB, free: 61.37 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/6.47, allocations: 0 / 1.556 GB, free: 61.37 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)