Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.0009469/0.0009468, allocations: 176.9 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4899/0.4899, allocations: 90.92 MB / 99.35 MB, free: 2.164 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.403/1.403, allocations: 221.5 MB / 343.2 MB, free: 1.559 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.0009689/0.0009689, allocations: 93.28 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.562e-05/2.564e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1538, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.243/4.397, allocations: 1.825 GB / 2.378 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/4.397, allocations: 95.23 kB / 2.378 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.06/11.46, allocations: 1.986 GB / 4.364 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/11.46, allocations: 0 / 4.364 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001362/11.46, allocations: 37.39 kB / 4.364 GB, free: 149.3 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.004354/11.46, allocations: 1.279 MB / 4.366 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/11.46, allocations: 8.906 kB / 4.366 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/11.46, allocations: 199.9 kB / 4.366 GB, free: 148.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004065/11.47, allocations: 1.445 MB / 4.367 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/11.47, allocations: 17.34 kB / 4.367 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/11.47, allocations: 47.66 kB / 4.367 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001356/11.47, allocations: 0.6966 MB / 4.368 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/11.47, allocations: 0.857 MB / 4.369 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/11.47, allocations: 1.375 kB / 4.369 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/11.47, allocations: 6.625 kB / 4.369 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/11.47, allocations: 13.75 kB / 4.369 GB, free: 148.3 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.004667/11.48, allocations: 4.568 MB / 4.373 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/11.48, allocations: 4.023 MB / 4.377 GB, free: 141 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004163/11.48, allocations: 336.5 kB / 4.378 GB, free: 141 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/11.48, allocations: 197 kB / 4.378 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/11.48, allocations: 292.3 kB / 4.378 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004779/11.48, allocations: 19.98 kB / 4.378 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 2.165e-06/11.48, allocations: 0 / 4.378 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.001882/11.48, allocations: 0.841 MB / 4.379 GB, free: 140.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/11.48, allocations: 81.55 kB / 4.379 GB, free: 140.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/11.48, allocations: 0.897 MB / 4.38 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/11.48, allocations: 30.36 kB / 4.38 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/11.48, allocations: 0.5278 MB / 4.38 GB, free: 140.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.287e-05/11.48, allocations: 124.8 kB / 4.38 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/11.48, allocations: 0 / 4.38 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.689e-05/11.48, allocations: 326.4 kB / 4.381 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/11.48, allocations: 202 kB / 4.381 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/11.48, allocations: 0.5343 MB / 4.382 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/11.48, allocations: 308.9 kB / 4.382 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/11.48, allocations: 1.375 kB / 4.382 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001704/11.49, allocations: 0.9858 MB / 4.383 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004136/11.49, allocations: 2.216 MB / 4.385 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/11.49, allocations: 5.219 kB / 4.385 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005128/11.49, allocations: 258 kB / 4.385 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/11.49, allocations: 81.73 kB / 4.385 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/11.49, allocations: 1.156 MB / 4.386 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/11.49, allocations: 95.59 kB / 4.386 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/11.49, allocations: 24.44 kB / 4.387 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/11.49, allocations: 4.344 kB / 4.387 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001156/11.49, allocations: 0.6783 MB / 4.387 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/11.49, allocations: 10.28 kB / 4.387 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005429/11.49, allocations: 235.8 kB / 4.387 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/11.49, allocations: 71.48 kB / 4.387 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002965/11.49, allocations: 2.957 MB / 4.39 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/11.5, allocations: 85.92 kB / 4.39 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.458e-05/11.5, allocations: 33.62 kB / 4.39 GB, free: 135.1 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002325/11.5, allocations: 119.4 kB / 4.391 GB, free: 135 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001151/11.5, allocations: 0.7044 MB / 4.391 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/11.5, allocations: 107.6 kB / 4.391 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/11.5, allocations: 0.7369 MB / 4.392 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/11.5, allocations: 5.906 kB / 4.392 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/11.5, allocations: 0 / 4.392 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/11.5, allocations: 3.891 kB / 4.392 GB, free: 134.8 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.002445/11.5, allocations: 2.044 MB / 4.394 GB, free: 134 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/11.5, allocations: 0 / 4.394 GB, free: 134 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/11.5, allocations: 55.61 kB / 4.394 GB, free: 134 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/11.5, allocations: 162.7 kB / 4.394 GB, free: 134 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/11.5, allocations: 7.062 kB / 4.394 GB, free: 134 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000546/11.5, allocations: 0.8983 MB / 4.395 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/11.5, allocations: 3.188 kB / 4.395 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008855/11.5, allocations: 0.9178 MB / 4.396 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/11.5, allocations: 233.6 kB / 4.396 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/11.5, allocations: 7.156 kB / 4.396 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/11.5, allocations: 77.3 kB / 4.396 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/11.5, allocations: 36.08 kB / 4.396 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/11.5, allocations: 17.25 kB / 4.396 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000722/11.51, allocations: 0.6983 MB / 4.397 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/11.51, allocations: 0 / 4.397 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001774/11.51, allocations: 0.5739 MB / 4.398 GB, free: 132.8 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 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.00237/11.51, allocations: 3.095 MB / 4.401 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001541/11.51, allocations: 1.085 MB / 4.402 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/11.51, allocations: 2.312 kB / 4.402 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/11.51, allocations: 233.2 kB / 4.402 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/11.51, allocations: 0.5839 MB / 4.403 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/11.52, allocations: 1.698 MB / 4.404 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/11.52, allocations: 1.239 MB / 4.405 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001801/11.52, allocations: 0.7309 MB / 4.406 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/11.52, allocations: 333 kB / 4.406 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of SimCode: time 7.92e-07/11.52, allocations: 0 / 4.406 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06367/11.58, allocations: 37.15 MB / 4.443 GB, free: 128 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/11.58, allocations: 200.1 kB / 4.443 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.026/14.61, allocations: 7.938 kB / 4.443 GB, free: 127.8 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)