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.002457/0.002457, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5644/0.5644, allocations: 91.98 MB / 108.5 MB, free: 13.05 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.695/1.695, allocations: 223.1 MB / 354.3 MB, free: 12.2 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.001181/0.001181, allocations: 99.14 kB / 427.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004813, allocations: 8 kB / 0.4983 GB, free: 42.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1946, allocations: 72.31 MB / 0.5689 GB, free: 1.797 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.632/4.827, allocations: 1.823 GB / 2.392 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/4.827, allocations: 95.95 kB / 2.392 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.677/12.5, allocations: 1.998 GB / 4.389 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 6.151e-06/12.5, allocations: 3.984 kB / 4.389 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001815/12.5, allocations: 36.16 kB / 4.389 GB, free: 126.1 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.006299/12.51, allocations: 1.581 MB / 4.391 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.095e-05/12.51, allocations: 7.438 kB / 4.391 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002853/12.51, allocations: 100.9 kB / 4.391 GB, free: 125 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/12.51, allocations: 200.9 kB / 4.391 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004105/12.52, allocations: 1.45 MB / 4.393 GB, free: 124 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/12.52, allocations: 47.88 kB / 4.393 GB, free: 124 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/12.52, allocations: 67.22 kB / 4.393 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/12.52, allocations: 0.9466 MB / 4.394 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/12.52, allocations: 7.781 kB / 4.394 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.908e-05/12.52, allocations: 27.67 kB / 4.394 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/12.52, allocations: 16.77 kB / 4.394 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/12.52, allocations: 0.7525 MB / 4.395 GB, free: 122.9 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005034/12.52, allocations: 4.732 MB / 4.399 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/12.53, allocations: 4.06 MB / 4.403 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/12.53, allocations: 194 kB / 4.403 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005143/12.53, allocations: 332.1 kB / 4.404 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006367/12.53, allocations: 34.84 kB / 4.404 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 3.427e-06/12.53, allocations: 3.688 kB / 4.404 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.003325/12.53, allocations: 1.302 MB / 4.405 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/12.53, allocations: 87.44 kB / 4.405 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/12.53, allocations: 1.038 MB / 4.406 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.064e-05/12.53, allocations: 41.7 kB / 4.406 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/12.53, allocations: 0.5127 MB / 4.407 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/12.53, allocations: 125.8 kB / 4.407 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/12.53, allocations: 15.47 kB / 4.407 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000102/12.53, allocations: 322 kB / 4.407 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/12.53, allocations: 213 kB / 4.407 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006811/12.54, allocations: 0.5508 MB / 4.408 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005744/12.54, allocations: 329 kB / 4.408 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/12.54, allocations: 0 / 4.408 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001905/12.54, allocations: 0.975 MB / 4.409 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001213/12.54, allocations: 2.224 MB / 4.411 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/12.54, allocations: 11.92 kB / 4.411 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006507/12.54, allocations: 237.4 kB / 4.411 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/12.54, allocations: 83.78 kB / 4.411 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/12.54, allocations: 0.9985 MB / 4.412 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/12.54, allocations: 98 kB / 4.413 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.498e-05/12.54, allocations: 27.98 kB / 4.413 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/12.54, allocations: 4 kB / 4.413 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001486/12.54, allocations: 0.7914 MB / 4.413 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/12.54, allocations: 11.27 kB / 4.413 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/12.54, allocations: 223.1 kB / 4.414 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/12.55, allocations: 80.2 kB / 4.414 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/12.55, allocations: 2.952 MB / 4.417 GB, free: 100.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/12.55, allocations: 101.6 kB / 4.417 GB, free: 100 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/12.55, allocations: 27.98 kB / 4.417 GB, free: 100 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 () * Number of clocked 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.0008436/12.55, allocations: 473 kB / 4.417 GB, free: 99.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/12.55, allocations: 112.4 kB / 4.417 GB, free: 99.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/12.55, allocations: 0.7907 MB / 4.418 GB, free: 98.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/12.55, allocations: 7.953 kB / 4.418 GB, free: 98.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/12.55, allocations: 0 / 4.418 GB, free: 98.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/12.55, allocations: 5.797 kB / 4.418 GB, free: 98.62 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002899/12.56, allocations: 2.156 MB / 4.42 GB, free: 96.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/12.56, allocations: 0 / 4.42 GB, free: 96.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/12.56, allocations: 55.97 kB / 4.42 GB, free: 96.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003614/12.56, allocations: 186 kB / 4.42 GB, free: 96.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/12.56, allocations: 19.94 kB / 4.42 GB, free: 96.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000587/12.56, allocations: 0.8426 MB / 4.421 GB, free: 95.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/12.56, allocations: 13.69 kB / 4.421 GB, free: 95.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/12.56, allocations: 0.9479 MB / 4.422 GB, free: 94.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004273/12.56, allocations: 239.6 kB / 4.422 GB, free: 93.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/12.56, allocations: 8 kB / 4.422 GB, free: 93.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006762/12.56, allocations: 84.97 kB / 4.422 GB, free: 93.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/12.56, allocations: 39.75 kB / 4.422 GB, free: 93.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/12.56, allocations: 8 kB / 4.422 GB, free: 93.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001036/12.56, allocations: 0.8287 MB / 4.423 GB, free: 92.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/12.56, allocations: 3.938 kB / 4.423 GB, free: 92.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002479/12.56, allocations: 0.6011 MB / 4.424 GB, free: 92.37 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) * Number of clocked states: 0 () * 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.003884/12.57, allocations: 2.94 MB / 4.427 GB, free: 89.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002144/12.57, allocations: 1.136 MB / 4.428 GB, free: 88.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/12.57, allocations: 0 / 4.428 GB, free: 88.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004265/12.57, allocations: 246.5 kB / 4.428 GB, free: 88.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/12.57, allocations: 0.6433 MB / 4.429 GB, free: 87.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/12.59, allocations: 10.44 MB / 4.439 GB, free: 76.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000702/12.59, allocations: 1.236 MB / 4.44 GB, free: 75.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001405/12.59, allocations: 388.2 kB / 4.441 GB, free: 75.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/12.59, allocations: 359.3 kB / 4.441 GB, free: 74.85 MB / 0.6042 GB Notification: Performance of SimCode: time 1.653e-06/12.59, allocations: 0 / 4.441 GB, free: 74.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08026/12.67, allocations: 47.38 MB / 4.487 GB, free: 28.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/12.67, allocations: 274.3 kB / 4.487 GB, free: 27.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.253/16.92, allocations: 4 kB / 4.487 GB, free: 27.69 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)