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.001072/0.001072, allocations: 182 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5182/0.5182, allocations: 90.81 MB / 104.5 MB, free: 13.86 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.503/1.503, allocations: 221.3 MB / 348.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009805/0.0009805, allocations: 103.8 kB / 421.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.863e-05/3.867e-05, allocations: 7.984 kB / 0.4897 GB, free: 46.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1728, allocations: 72.31 MB / 0.5603 GB, free: 6.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.691/4.864, allocations: 1.825 GB / 2.385 GB, free: 75.16 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/4.864, allocations: 91.89 kB / 2.386 GB, free: 75.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.11/8.974, allocations: 1.089 GB / 3.475 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.213e-06/8.974, allocations: 0 / 3.475 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.81e-05/8.974, allocations: 35.69 kB / 3.475 GB, free: 141.9 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.003366/8.978, allocations: 1.262 MB / 3.476 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/8.978, allocations: 14.08 kB / 3.476 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/8.978, allocations: 96.52 kB / 3.476 GB, free: 141 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008462/8.979, allocations: 210.3 kB / 3.476 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/8.982, allocations: 1.45 MB / 3.478 GB, free: 140 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/8.982, allocations: 47.5 kB / 3.478 GB, free: 140 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-05/8.982, allocations: 66.09 kB / 3.478 GB, free: 140 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/8.983, allocations: 0.9255 MB / 3.479 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/8.983, allocations: 3.938 kB / 3.479 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/8.984, allocations: 26 kB / 3.479 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/8.984, allocations: 11.94 kB / 3.479 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009102/8.984, allocations: 0.7059 MB / 3.479 GB, free: 139 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.003528/8.988, allocations: 4.702 MB / 3.484 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/8.99, allocations: 3.972 MB / 3.488 GB, free: 130.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/8.99, allocations: 325.5 kB / 3.488 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/8.99, allocations: 195.4 kB / 3.488 GB, free: 130 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003796/8.991, allocations: 312.8 kB / 3.489 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002776/8.991, allocations: 27.5 kB / 3.489 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 2.174e-06/8.991, allocations: 0 / 3.489 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.001255/8.992, allocations: 0.7527 MB / 3.489 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/8.992, allocations: 86.94 kB / 3.489 GB, free: 128.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/8.993, allocations: 1.036 MB / 3.49 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/8.993, allocations: 41.7 kB / 3.49 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/8.994, allocations: 0.5171 MB / 3.491 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/8.994, allocations: 126.4 kB / 3.491 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/8.994, allocations: 8 kB / 3.491 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.82e-05/8.994, allocations: 326 kB / 3.491 GB, free: 126.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/8.994, allocations: 185 kB / 3.492 GB, free: 126.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/8.994, allocations: 0.5401 MB / 3.492 GB, free: 126 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/8.995, allocations: 303.7 kB / 3.492 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/8.995, allocations: 4 kB / 3.492 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001227/8.996, allocations: 0.9661 MB / 3.493 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000468/8.996, allocations: 2.226 MB / 3.495 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/8.996, allocations: 4 kB / 3.495 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005859/8.997, allocations: 330 kB / 3.496 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/8.997, allocations: 71.89 kB / 3.496 GB, free: 122 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/8.999, allocations: 1.123 MB / 3.497 GB, free: 120.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009092/9, allocations: 105.6 kB / 3.497 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/9, allocations: 24 kB / 3.497 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.874e-06/9, allocations: 4 kB / 3.497 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001151/9.001, allocations: 0.7811 MB / 3.498 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/9.001, allocations: 4 kB / 3.498 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000478/9.001, allocations: 246.3 kB / 3.498 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/9.002, allocations: 78.61 kB / 3.498 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/9.005, allocations: 3.095 MB / 3.501 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008516/9.006, allocations: 109.4 kB / 3.501 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/9.006, allocations: 27.98 kB / 3.501 GB, free: 116.3 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.0001414/9.006, allocations: 138.8 kB / 3.501 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/9.006, allocations: 117.7 kB / 3.502 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/9.007, allocations: 0.786 MB / 3.502 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/9.007, allocations: 4 kB / 3.502 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/9.007, allocations: 0 / 3.502 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/9.007, allocations: 0 / 3.502 GB, free: 115.2 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.002527/9.01, allocations: 2.149 MB / 3.504 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/9.01, allocations: 0 / 3.504 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/9.01, allocations: 58.58 kB / 3.505 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/9.01, allocations: 231.7 kB / 3.505 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/9.01, allocations: 12 kB / 3.505 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006888/9.011, allocations: 0.9346 MB / 3.506 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/9.011, allocations: 6.938 kB / 3.506 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009099/9.012, allocations: 0.9436 MB / 3.507 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/9.012, allocations: 239.7 kB / 3.507 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/9.012, allocations: 11.98 kB / 3.507 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006485/9.013, allocations: 83.53 kB / 3.507 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/9.013, allocations: 35.45 kB / 3.507 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/9.013, allocations: 15.98 kB / 3.507 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008668/9.014, allocations: 0.8145 MB / 3.508 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/9.014, allocations: 0 / 3.508 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00166/9.016, allocations: 0.6127 MB / 3.508 GB, free: 108.9 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.002355/9.018, allocations: 2.962 MB / 3.511 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002087/9.02, allocations: 1.271 MB / 3.512 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/9.02, allocations: 0 / 3.512 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004778/9.021, allocations: 296.5 kB / 3.513 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00292/9.024, allocations: 0.6503 MB / 3.513 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/9.026, allocations: 1.763 MB / 3.515 GB, free: 102 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/9.027, allocations: 1.238 MB / 3.516 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001739/9.028, allocations: 0.7994 MB / 3.517 GB, free: 99.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/9.029, allocations: 335.3 kB / 3.517 GB, free: 99.61 MB / 0.6042 GB Notification: Performance of SimCode: time 7.82e-07/9.029, allocations: 0 / 3.517 GB, free: 99.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07208/9.101, allocations: 52.51 MB / 3.569 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/9.101, allocations: 242.7 kB / 3.569 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.627/12.73, allocations: 0 / 3.569 GB, free: 47.18 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)