Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 179.1 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5006/0.5006, allocations: 90.8 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009801/0.0009803, allocations: 106.7 kB / 421.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.899e-05/3.903e-05, allocations: 4 kB / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.446, allocations: 72.3 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.834/5.28, allocations: 1.823 GB / 2.383 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/5.281, allocations: 90.69 kB / 2.383 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.339/8.62, allocations: 0.9684 GB / 3.351 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.644e-06/8.62, allocations: 0 / 3.351 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.764e-05/8.62, allocations: 31.98 kB / 3.351 GB, free: 105.2 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001808/8.622, allocations: 1.147 MB / 3.352 GB, free: 104 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/8.622, allocations: 11.98 kB / 3.352 GB, free: 104 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/8.622, allocations: 98.52 kB / 3.353 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007582/8.623, allocations: 191.2 kB / 3.353 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/8.625, allocations: 1.069 MB / 3.354 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/8.625, allocations: 45 kB / 3.354 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.317e-05/8.625, allocations: 60 kB / 3.354 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009109/8.626, allocations: 0.7416 MB / 3.355 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/8.626, allocations: 4 kB / 3.355 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.921e-05/8.626, allocations: 20 kB / 3.355 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/8.626, allocations: 19.98 kB / 3.355 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00062/8.626, allocations: 474.6 kB / 3.355 GB, free: 101.1 MB / 0.6042 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.003473/8.63, allocations: 4.594 MB / 3.36 GB, free: 96.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/8.63, allocations: 382.3 kB / 3.36 GB, free: 95.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/8.631, allocations: 234.4 kB / 3.36 GB, free: 95.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002751/8.631, allocations: 194.2 kB / 3.36 GB, free: 95.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/8.631, allocations: 267.8 kB / 3.361 GB, free: 95.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/8.631, allocations: 4 kB / 3.361 GB, free: 95.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.0007527/8.632, allocations: 457.6 kB / 3.361 GB, free: 94.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/8.632, allocations: 93.02 kB / 3.361 GB, free: 94.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000934/8.633, allocations: 0.9725 MB / 3.362 GB, free: 93.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/8.633, allocations: 41.7 kB / 3.362 GB, free: 93.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/8.633, allocations: 492.4 kB / 3.363 GB, free: 92.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/8.633, allocations: 106.5 kB / 3.363 GB, free: 92.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/8.633, allocations: 12 kB / 3.363 GB, free: 92.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.748e-05/8.633, allocations: 326 kB / 3.363 GB, free: 92.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/8.634, allocations: 160.8 kB / 3.363 GB, free: 92.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/8.634, allocations: 0.4927 MB / 3.364 GB, free: 91.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/8.634, allocations: 275.5 kB / 3.364 GB, free: 91.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/8.634, allocations: 0 / 3.364 GB, free: 91.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007167/8.635, allocations: 0.642 MB / 3.365 GB, free: 90.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004011/8.635, allocations: 2.137 MB / 3.367 GB, free: 88.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/8.635, allocations: 8 kB / 3.367 GB, free: 88.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/8.635, allocations: 8 kB / 3.367 GB, free: 88.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/8.637, allocations: 291.5 kB / 3.367 GB, free: 88.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/8.639, allocations: 6.071 MB / 3.373 GB, free: 81.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008006/8.64, allocations: 107.6 kB / 3.373 GB, free: 81.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-05/8.64, allocations: 28.09 kB / 3.373 GB, free: 81.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/8.64, allocations: 15.88 kB / 3.373 GB, free: 81.71 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005722/8.641, allocations: 0.4913 MB / 3.374 GB, free: 81.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/8.641, allocations: 4 kB / 3.374 GB, free: 81.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/8.641, allocations: 8 kB / 3.374 GB, free: 81.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/8.641, allocations: 147.8 kB / 3.374 GB, free: 81.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/8.641, allocations: 11.94 kB / 3.374 GB, free: 81.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005593/8.642, allocations: 95.5 kB / 3.374 GB, free: 80.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/8.642, allocations: 31.98 kB / 3.374 GB, free: 80.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/8.642, allocations: 136.9 kB / 3.374 GB, free: 80.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/8.642, allocations: 102.7 kB / 3.374 GB, free: 80.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000653/8.643, allocations: 466.9 kB / 3.374 GB, free: 80.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/8.643, allocations: 4 kB / 3.374 GB, free: 80.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/8.643, allocations: 4 kB / 3.374 GB, free: 80.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/8.643, allocations: 7.984 kB / 3.374 GB, free: 80.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/8.644, allocations: 1.349 MB / 3.376 GB, free: 78.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/8.644, allocations: 8.031 kB / 3.376 GB, free: 78.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/8.645, allocations: 151.7 kB / 3.376 GB, free: 78.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/8.645, allocations: 4 kB / 3.376 GB, free: 78.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/8.645, allocations: 8 kB / 3.376 GB, free: 78.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/8.647, allocations: 6.024 MB / 3.382 GB, free: 72.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/8.647, allocations: 0 / 3.382 GB, free: 72.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/8.647, allocations: 0.6557 MB / 3.382 GB, free: 71.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/8.647, allocations: 215.8 kB / 3.383 GB, free: 71.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.625e-05/8.648, allocations: 11.95 kB / 3.383 GB, free: 71.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004598/8.648, allocations: 55.8 kB / 3.383 GB, free: 71.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/8.648, allocations: 31.95 kB / 3.383 GB, free: 71.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/8.648, allocations: 12 kB / 3.383 GB, free: 71.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007719/8.649, allocations: 0.7688 MB / 3.384 GB, free: 70.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/8.649, allocations: 4 kB / 3.384 GB, free: 70.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001278/8.65, allocations: 479.6 kB / 3.384 GB, free: 70.03 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001877/8.652, allocations: 2.497 MB / 3.386 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002019/8.654, allocations: 0.9512 MB / 3.387 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/8.654, allocations: 0 / 3.387 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005806/8.655, allocations: 247.7 kB / 3.388 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/8.657, allocations: 462.4 kB / 3.388 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/8.659, allocations: 1.673 MB / 3.39 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/8.659, allocations: 1.199 MB / 3.391 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001672/8.661, allocations: 0.788 MB / 3.392 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/8.661, allocations: 295.3 kB / 3.392 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of SimCode: time 8.22e-07/8.661, allocations: 0 / 3.392 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06447/8.726, allocations: 43.83 MB / 3.435 GB, free: 18.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/8.726, allocations: 233.1 kB / 3.435 GB, free: 17.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.464/12.19, allocations: 0 / 3.435 GB, free: 17.98 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)