Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.002073/0.002073, allocations: 178.8 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.4952/0.4952, allocations: 90.81 MB / 104.5 MB, free: 9.785 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.378/1.378, allocations: 221.3 MB / 348.3 MB, free: 460 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.0009759/0.0009758, allocations: 97.7 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.647e-05/3.649e-05, allocations: 4 kB / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4207, allocations: 72.3 MB / 0.5603 GB, free: 40.4 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.339/4.76, allocations: 1.823 GB / 2.383 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/4.76, allocations: 95.12 kB / 2.383 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.881/12.64, allocations: 1.996 GB / 4.379 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.455e-06/12.64, allocations: 0 / 4.379 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001129/12.64, allocations: 36.77 kB / 4.379 GB, free: 144.7 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003788/12.64, allocations: 1.274 MB / 4.381 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/12.65, allocations: 14.2 kB / 4.381 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002047/12.65, allocations: 101.4 kB / 4.381 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009514/12.65, allocations: 189.5 kB / 4.381 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003533/12.65, allocations: 1.44 MB / 4.382 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/12.65, allocations: 44.28 kB / 4.382 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/12.65, allocations: 70.12 kB / 4.382 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/12.65, allocations: 0.9254 MB / 4.383 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/12.65, allocations: 0 / 4.383 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.113e-05/12.65, allocations: 28.03 kB / 4.383 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/12.65, allocations: 19.2 kB / 4.383 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009251/12.65, allocations: 0.7023 MB / 4.384 GB, free: 143.6 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.003884/12.66, allocations: 4.723 MB / 4.389 GB, free: 140.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/12.66, allocations: 4.023 MB / 4.393 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/12.66, allocations: 323.9 kB / 4.393 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/12.66, allocations: 200.5 kB / 4.393 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003781/12.66, allocations: 307.9 kB / 4.393 GB, free: 136 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003785/12.66, allocations: 29.86 kB / 4.393 GB, free: 136 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 1.904e-06/12.66, allocations: 0 / 4.393 GB, free: 136 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.001328/12.66, allocations: 0.729 MB / 4.394 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/12.66, allocations: 86.7 kB / 4.394 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/12.66, allocations: 1.031 MB / 4.395 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/12.66, allocations: 39.58 kB / 4.395 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/12.66, allocations: 0.5103 MB / 4.396 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.208e-05/12.66, allocations: 130 kB / 4.396 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/12.66, allocations: 7.125 kB / 4.396 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/12.66, allocations: 335.4 kB / 4.396 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/12.66, allocations: 185.4 kB / 4.396 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/12.66, allocations: 0.528 MB / 4.397 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/12.66, allocations: 315.2 kB / 4.397 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/12.66, allocations: 0 / 4.397 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001204/12.66, allocations: 0.9178 MB / 4.398 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004988/12.67, allocations: 2.23 MB / 4.4 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/12.67, allocations: 5.5 kB / 4.4 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/12.67, allocations: 238.5 kB / 4.4 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/12.67, allocations: 74.97 kB / 4.401 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000837/12.67, allocations: 1.009 MB / 4.401 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009881/12.67, allocations: 102.7 kB / 4.402 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.418e-05/12.67, allocations: 33 kB / 4.402 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/12.67, allocations: 9.406 kB / 4.402 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001113/12.67, allocations: 0.7395 MB / 4.402 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/12.67, allocations: 6.812 kB / 4.402 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004817/12.67, allocations: 223.8 kB / 4.403 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/12.67, allocations: 78.28 kB / 4.403 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/12.67, allocations: 2.876 MB / 4.405 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009239/12.67, allocations: 102.8 kB / 4.406 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/12.67, allocations: 27.62 kB / 4.406 GB, free: 130.2 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 (40): * Single equations (assignments): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001594/12.67, allocations: 146.7 kB / 4.406 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/12.67, allocations: 108.1 kB / 4.406 GB, free: 130 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/12.68, allocations: 0.7512 MB / 4.407 GB, free: 130 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/12.68, allocations: 3.469 kB / 4.407 GB, free: 130 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/12.68, allocations: 3.75 kB / 4.407 GB, free: 130 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/12.68, allocations: 0 / 4.407 GB, free: 130 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.002607/12.68, allocations: 2.115 MB / 4.409 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/12.68, allocations: 6.062 kB / 4.409 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/12.68, allocations: 59.78 kB / 4.409 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003489/12.68, allocations: 174.2 kB / 4.409 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/12.68, allocations: 15.03 kB / 4.409 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000539/12.68, allocations: 0.8467 MB / 4.41 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/12.68, allocations: 3.562 kB / 4.41 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/12.68, allocations: 0.9089 MB / 4.411 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004009/12.68, allocations: 245.7 kB / 4.411 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/12.68, allocations: 11.88 kB / 4.411 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/12.68, allocations: 84.06 kB / 4.411 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/12.68, allocations: 31.73 kB / 4.411 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/12.68, allocations: 16.12 kB / 4.411 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009694/12.68, allocations: 0.8117 MB / 4.412 GB, free: 128 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/12.68, allocations: 0 / 4.412 GB, free: 128 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001927/12.68, allocations: 0.6006 MB / 4.412 GB, free: 128 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.002682/12.69, allocations: 2.899 MB / 4.415 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001764/12.69, allocations: 1.108 MB / 4.416 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/12.69, allocations: 2.562 kB / 4.416 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000341/12.69, allocations: 239.7 kB / 4.416 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003481/12.69, allocations: 0.6477 MB / 4.417 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/12.7, allocations: 1.762 MB / 4.419 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/12.7, allocations: 1.241 MB / 4.42 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002061/12.7, allocations: 0.813 MB / 4.421 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/12.7, allocations: 342.5 kB / 4.421 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.462e-06/12.7, allocations: 0 / 4.421 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08765/12.79, allocations: 51.58 MB / 4.472 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/12.79, allocations: 246 kB / 4.472 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.793/16.58, allocations: 2.844 kB / 4.472 GB, free: 108.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)