Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.0009187/0.0009187, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4951/0.4951, allocations: 90.91 MB / 99.34 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.5 MB / 343.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009028/0.0009028, allocations: 107.4 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.746e-05/1.748e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1448, allocations: 72.3 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.391/4.536, allocations: 1.825 GB / 2.378 GB, free: 79.77 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/4.536, allocations: 96.8 kB / 2.378 GB, free: 79.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.141/8.677, allocations: 1.078 GB / 3.456 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.473e-06/8.677, allocations: 0 / 3.456 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001942/8.677, allocations: 34.89 kB / 3.456 GB, free: 150.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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004696/8.682, allocations: 1.273 MB / 3.457 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/8.682, allocations: 7.781 kB / 3.457 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/8.683, allocations: 204.2 kB / 3.457 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004096/8.687, allocations: 1.447 MB / 3.459 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/8.687, allocations: 17.19 kB / 3.459 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/8.688, allocations: 42.89 kB / 3.459 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001183/8.689, allocations: 0.7008 MB / 3.459 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/8.69, allocations: 0.8506 MB / 3.46 GB, free: 149 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/8.69, allocations: 5.625 kB / 3.46 GB, free: 149 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-05/8.69, allocations: 0 / 3.46 GB, free: 149 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/8.69, allocations: 16.81 kB / 3.46 GB, free: 149 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.004415/8.694, allocations: 4.561 MB / 3.465 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/8.696, allocations: 4.031 MB / 3.469 GB, free: 141.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/8.697, allocations: 342.2 kB / 3.469 GB, free: 141.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/8.697, allocations: 198.5 kB / 3.469 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003931/8.697, allocations: 297 kB / 3.469 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004525/8.698, allocations: 15.47 kB / 3.47 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 3.567e-06/8.698, allocations: 1.031 kB / 3.47 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.001915/8.7, allocations: 0.8501 MB / 3.47 GB, free: 141.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/8.7, allocations: 79.45 kB / 3.47 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/8.701, allocations: 0.9003 MB / 3.471 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/8.701, allocations: 32.92 kB / 3.471 GB, free: 141 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/8.701, allocations: 0.5254 MB / 3.472 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/8.702, allocations: 122.6 kB / 3.472 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/8.702, allocations: 3 kB / 3.472 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.231e-05/8.702, allocations: 324.7 kB / 3.472 GB, free: 140.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/8.702, allocations: 212.6 kB / 3.472 GB, free: 140.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/8.702, allocations: 0.5331 MB / 3.473 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/8.703, allocations: 301.3 kB / 3.473 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/8.703, allocations: 2.969 kB / 3.473 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001803/8.705, allocations: 0.9802 MB / 3.474 GB, free: 140 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006271/8.705, allocations: 2.22 MB / 3.476 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/8.705, allocations: 10.48 kB / 3.476 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/8.706, allocations: 295.6 kB / 3.477 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/8.706, allocations: 73.95 kB / 3.477 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/8.708, allocations: 1.226 MB / 3.478 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/8.709, allocations: 89.44 kB / 3.478 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.231e-05/8.709, allocations: 31 kB / 3.478 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/8.709, allocations: 4.312 kB / 3.478 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001173/8.71, allocations: 0.684 MB / 3.479 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/8.71, allocations: 11.47 kB / 3.479 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/8.711, allocations: 222.6 kB / 3.479 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/8.711, allocations: 80.02 kB / 3.479 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/8.715, allocations: 2.977 MB / 3.482 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/8.716, allocations: 90.69 kB / 3.482 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/8.716, allocations: 25.03 kB / 3.482 GB, free: 135.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002061/8.716, allocations: 132.6 kB / 3.482 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001126/8.717, allocations: 0.7012 MB / 3.483 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/8.717, allocations: 99.69 kB / 3.483 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/8.719, allocations: 0.7425 MB / 3.484 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/8.719, allocations: 7.594 kB / 3.484 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/8.719, allocations: 2.812 kB / 3.484 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/8.719, allocations: 7.297 kB / 3.484 GB, free: 135.4 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 postOpt removeSimpleEquations (simulation): time 0.002934/8.722, allocations: 2.04 MB / 3.486 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/8.722, allocations: 0 / 3.486 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/8.722, allocations: 53.39 kB / 3.486 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000335/8.722, allocations: 195.1 kB / 3.486 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/8.722, allocations: 11.38 kB / 3.486 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007854/8.723, allocations: 0.9537 MB / 3.487 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/8.723, allocations: 3.312 kB / 3.487 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/8.724, allocations: 0.9317 MB / 3.488 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/8.724, allocations: 223.9 kB / 3.488 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/8.725, allocations: 3.844 kB / 3.488 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007016/8.725, allocations: 78.09 kB / 3.488 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/8.725, allocations: 33.72 kB / 3.488 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/8.725, allocations: 15.16 kB / 3.488 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008078/8.726, allocations: 0.6996 MB / 3.489 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/8.726, allocations: 0 / 3.489 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001842/8.728, allocations: 0.5772 MB / 3.489 GB, free: 132.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002559/8.731, allocations: 3.075 MB / 3.492 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002216/8.733, allocations: 1.227 MB / 3.494 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/8.733, allocations: 0 / 3.494 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004739/8.733, allocations: 290.6 kB / 3.494 GB, free: 130.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/8.736, allocations: 0.5855 MB / 3.494 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/8.739, allocations: 1.703 MB / 3.496 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006795/8.74, allocations: 1.238 MB / 3.497 GB, free: 128.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002054/8.742, allocations: 0.7269 MB / 3.498 GB, free: 128.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/8.743, allocations: 331.6 kB / 3.498 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.505e-06/8.743, allocations: 0 / 3.498 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06646/8.809, allocations: 36.91 MB / 3.534 GB, free: 97.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/8.809, allocations: 177.5 kB / 3.535 GB, free: 97.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.079/11.89, allocations: 0 / 3.535 GB, free: 97.55 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)