Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.677/1.677, allocations: 289.9 MB / 297.4 MB, free: 6.379 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 176.9 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.3 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008445/0.0008445, allocations: 87.88 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.114e-05/2.116e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7397/0.7398, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.295/6.035, allocations: 2.064 GB / 3.037 GB, free: 66.35 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/6.035, allocations: 93.53 kB / 3.037 GB, free: 66.26 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.955/14.99, allocations: 1.961 GB / 4.998 GB, free: 256.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.593e-06/14.99, allocations: 0 / 4.998 GB, free: 256.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001054/14.99, allocations: 29.28 kB / 4.998 GB, free: 256.8 MB / 0.948 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.003701/14.99, allocations: 1.276 MB / 4.999 GB, free: 256.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/14.99, allocations: 14.66 kB / 4.999 GB, free: 256.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009789/15, allocations: 194.6 kB / 4.999 GB, free: 256.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003225/15, allocations: 1.43 MB / 5.001 GB, free: 255.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/15, allocations: 21.78 kB / 5.001 GB, free: 255.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.615e-05/15, allocations: 40.44 kB / 5.001 GB, free: 255.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001013/15, allocations: 0.7037 MB / 5.002 GB, free: 255.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/15, allocations: 0.8427 MB / 5.002 GB, free: 255.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/15, allocations: 6.094 kB / 5.002 GB, free: 255.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/15, allocations: 6.703 kB / 5.002 GB, free: 255.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/15, allocations: 15.56 kB / 5.002 GB, free: 255.6 MB / 0.948 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.003934/15.01, allocations: 4.595 MB / 5.007 GB, free: 252.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/15.01, allocations: 4.082 MB / 5.011 GB, free: 248.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003933/15.01, allocations: 341.7 kB / 5.011 GB, free: 248.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003264/15.01, allocations: 192.7 kB / 5.011 GB, free: 248.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004123/15.01, allocations: 288.9 kB / 5.012 GB, free: 248.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004623/15.01, allocations: 17 kB / 5.012 GB, free: 248.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 4.608e-06/15.01, allocations: 0 / 5.012 GB, free: 248.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001748/15.01, allocations: 0.8111 MB / 5.013 GB, free: 247.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/15.01, allocations: 82.3 kB / 5.013 GB, free: 247.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/15.01, allocations: 0.9004 MB / 5.014 GB, free: 247.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/15.01, allocations: 25.7 kB / 5.014 GB, free: 247.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/15.01, allocations: 0.5307 MB / 5.014 GB, free: 247.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.492e-05/15.01, allocations: 120.9 kB / 5.014 GB, free: 247.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/15.01, allocations: 0 / 5.014 GB, free: 247.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.658e-05/15.01, allocations: 325.4 kB / 5.014 GB, free: 247.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/15.01, allocations: 211 kB / 5.015 GB, free: 247.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/15.01, allocations: 0.5383 MB / 5.015 GB, free: 246.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/15.01, allocations: 296.2 kB / 5.015 GB, free: 246.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/15.01, allocations: 3.781 kB / 5.015 GB, free: 246.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001596/15.02, allocations: 0.9523 MB / 5.016 GB, free: 246.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007952/15.02, allocations: 2.22 MB / 5.019 GB, free: 244.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/15.02, allocations: 4.469 kB / 5.019 GB, free: 244.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005005/15.02, allocations: 232 kB / 5.019 GB, free: 244.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/15.02, allocations: 81.14 kB / 5.019 GB, free: 244.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/15.02, allocations: 1.108 MB / 5.02 GB, free: 243.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/15.02, allocations: 95.02 kB / 5.02 GB, free: 243.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/15.02, allocations: 24.56 kB / 5.02 GB, free: 243.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/15.02, allocations: 11.27 kB / 5.02 GB, free: 243.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001193/15.02, allocations: 0.6387 MB / 5.021 GB, free: 243.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/15.02, allocations: 10.53 kB / 5.021 GB, free: 243.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/15.02, allocations: 205.1 kB / 5.021 GB, free: 243.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/15.02, allocations: 80.8 kB / 5.021 GB, free: 243.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/15.02, allocations: 2.773 MB / 5.024 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/15.03, allocations: 92.3 kB / 5.024 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/15.03, allocations: 25.22 kB / 5.024 GB, free: 242.4 MB / 0.948 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.0002595/15.03, allocations: 126.9 kB / 5.024 GB, free: 242.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001134/15.03, allocations: 0.6759 MB / 5.025 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/15.03, allocations: 102.2 kB / 5.025 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/15.03, allocations: 0.7071 MB / 5.025 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/15.03, allocations: 3.719 kB / 5.025 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/15.03, allocations: 3.75 kB / 5.025 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/15.03, allocations: 7.641 kB / 5.025 GB, free: 242.1 MB / 0.948 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.002376/15.03, allocations: 2.013 MB / 5.027 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/15.03, allocations: 3.688 kB / 5.027 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/15.03, allocations: 52.91 kB / 5.027 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002468/15.03, allocations: 135 kB / 5.028 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/15.03, allocations: 3.625 kB / 5.028 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005695/15.03, allocations: 0.8786 MB / 5.028 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/15.03, allocations: 3.562 kB / 5.028 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008621/15.03, allocations: 0.9004 MB / 5.029 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/15.03, allocations: 218.4 kB / 5.03 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/15.03, allocations: 3.938 kB / 5.03 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006529/15.03, allocations: 85.06 kB / 5.03 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/15.03, allocations: 32.95 kB / 5.03 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/15.03, allocations: 11.31 kB / 5.03 GB, free: 240 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007571/15.04, allocations: 0.7015 MB / 5.03 GB, free: 239.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/15.04, allocations: 0 / 5.03 GB, free: 239.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001636/15.04, allocations: 0.564 MB / 5.031 GB, free: 239.6 MB / 0.948 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.002832/15.04, allocations: 3 MB / 5.034 GB, free: 237.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001579/15.04, allocations: 1.08 MB / 5.035 GB, free: 237.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/15.04, allocations: 0 / 5.035 GB, free: 237.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/15.04, allocations: 219.7 kB / 5.035 GB, free: 237.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/15.04, allocations: 0.5861 MB / 5.036 GB, free: 237.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/15.05, allocations: 1.714 MB / 5.037 GB, free: 236.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/15.05, allocations: 1.241 MB / 5.039 GB, free: 235.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001758/15.05, allocations: 0.7367 MB / 5.039 GB, free: 235.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/15.05, allocations: 331.7 kB / 5.04 GB, free: 235.5 MB / 0.948 GB Notification: Performance of SimCode: time 4.9e-07/15.05, allocations: 0 / 5.04 GB, free: 235.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06191/15.11, allocations: 36.37 MB / 5.075 GB, free: 220.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/15.11, allocations: 207.9 kB / 5.075 GB, free: 219.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.375/18.49, allocations: 0 / 5.075 GB, free: 219.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)