Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.3 MB / 405.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 179.1 kB / 498.1 MB, free: 5.664 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.1 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009378/0.0009377, allocations: 96.33 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004383, allocations: 10.31 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.902/4.202, allocations: 1.869 GB / 3.092 GB, free: 117 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/4.202, allocations: 94 kB / 3.092 GB, free: 116.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.038/10.24, allocations: 1.998 GB / 5.09 GB, free: 346.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.435e-06/10.24, allocations: 3.219 kB / 5.09 GB, free: 346.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001133/10.24, allocations: 36.92 kB / 5.09 GB, free: 346.9 MB / 1.167 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.004789/10.25, allocations: 1.581 MB / 5.092 GB, free: 346.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/10.25, allocations: 15.23 kB / 5.092 GB, free: 346.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002101/10.25, allocations: 96.62 kB / 5.092 GB, free: 346.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008987/10.25, allocations: 202.2 kB / 5.092 GB, free: 346.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003764/10.25, allocations: 1.445 MB / 5.093 GB, free: 345.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/10.25, allocations: 45.66 kB / 5.093 GB, free: 345.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.502e-05/10.25, allocations: 67.53 kB / 5.093 GB, free: 345.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/10.25, allocations: 0.9548 MB / 5.094 GB, free: 345.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/10.25, allocations: 3 kB / 5.094 GB, free: 345.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-05/10.25, allocations: 25.64 kB / 5.094 GB, free: 345.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/10.25, allocations: 16.34 kB / 5.094 GB, free: 345.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/10.25, allocations: 0.7606 MB / 5.095 GB, free: 345.6 MB / 1.167 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.00472/10.26, allocations: 4.739 MB / 5.1 GB, free: 342.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/10.26, allocations: 4.063 MB / 5.104 GB, free: 338.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002961/10.26, allocations: 190.5 kB / 5.104 GB, free: 338 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005158/10.26, allocations: 328 kB / 5.104 GB, free: 338 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005969/10.26, allocations: 42.27 kB / 5.104 GB, free: 337.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 2.555e-06/10.26, allocations: 3.938 kB / 5.104 GB, free: 337.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.003125/10.26, allocations: 1.297 MB / 5.106 GB, free: 337.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/10.26, allocations: 80.86 kB / 5.106 GB, free: 337.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/10.27, allocations: 1.048 MB / 5.107 GB, free: 337.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/10.27, allocations: 37.48 kB / 5.107 GB, free: 337.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/10.27, allocations: 0.5137 MB / 5.107 GB, free: 337.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/10.27, allocations: 127.5 kB / 5.107 GB, free: 337.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/10.27, allocations: 5.75 kB / 5.107 GB, free: 337.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7e-05/10.27, allocations: 333.3 kB / 5.108 GB, free: 336.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/10.27, allocations: 216.5 kB / 5.108 GB, free: 336.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005178/10.27, allocations: 0.5526 MB / 5.108 GB, free: 336.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/10.27, allocations: 325.3 kB / 5.109 GB, free: 336.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/10.27, allocations: 0 / 5.109 GB, free: 336.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001729/10.27, allocations: 0.9679 MB / 5.11 GB, free: 336.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004631/10.27, allocations: 2.232 MB / 5.112 GB, free: 334 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/10.27, allocations: 12.67 kB / 5.112 GB, free: 334 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005839/10.27, allocations: 238.5 kB / 5.112 GB, free: 334 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/10.27, allocations: 79.3 kB / 5.112 GB, free: 334 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009753/10.27, allocations: 1.002 MB / 5.113 GB, free: 333.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/10.27, allocations: 107 kB / 5.113 GB, free: 333.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-05/10.27, allocations: 26.12 kB / 5.113 GB, free: 333.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/10.27, allocations: 3 kB / 5.113 GB, free: 333.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001525/10.27, allocations: 0.7889 MB / 5.114 GB, free: 333.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/10.27, allocations: 5.562 kB / 5.114 GB, free: 333.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/10.28, allocations: 225.5 kB / 5.114 GB, free: 333.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/10.28, allocations: 80.81 kB / 5.114 GB, free: 333.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/10.28, allocations: 2.939 MB / 5.117 GB, free: 332.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/10.28, allocations: 99.55 kB / 5.117 GB, free: 332.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/10.28, allocations: 26.94 kB / 5.117 GB, free: 332.1 MB / 1.167 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.0006586/10.28, allocations: 484.9 kB / 5.118 GB, free: 331.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/10.28, allocations: 108.8 kB / 5.118 GB, free: 331.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/10.28, allocations: 0.7901 MB / 5.119 GB, free: 331.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/10.28, allocations: 3.406 kB / 5.119 GB, free: 331.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/10.28, allocations: 5.469 kB / 5.119 GB, free: 331.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/10.28, allocations: 0 / 5.119 GB, free: 331.7 MB / 1.167 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.002764/10.28, allocations: 2.151 MB / 5.121 GB, free: 330.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/10.28, allocations: 7.375 kB / 5.121 GB, free: 330.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/10.29, allocations: 51.83 kB / 5.121 GB, free: 330.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003346/10.29, allocations: 182.1 kB / 5.121 GB, free: 330.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/10.29, allocations: 21.02 kB / 5.121 GB, free: 330.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005307/10.29, allocations: 0.8484 MB / 5.122 GB, free: 330.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/10.29, allocations: 6.156 kB / 5.122 GB, free: 330.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/10.29, allocations: 0.9594 MB / 5.123 GB, free: 329.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005053/10.29, allocations: 233.4 kB / 5.123 GB, free: 329.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/10.29, allocations: 17.8 kB / 5.123 GB, free: 329.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006902/10.29, allocations: 79.58 kB / 5.123 GB, free: 329.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/10.29, allocations: 37.52 kB / 5.123 GB, free: 329.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/10.29, allocations: 16.5 kB / 5.123 GB, free: 329.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009016/10.29, allocations: 0.8276 MB / 5.124 GB, free: 329.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.8e-07/10.29, allocations: 3.562 kB / 5.124 GB, free: 329.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001861/10.29, allocations: 0.6019 MB / 5.125 GB, free: 329.6 MB / 1.167 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.002705/10.29, allocations: 2.937 MB / 5.127 GB, free: 328 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001836/10.3, allocations: 1.137 MB / 5.129 GB, free: 327.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/10.3, allocations: 3.312 kB / 5.129 GB, free: 327.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004682/10.3, allocations: 259 kB / 5.129 GB, free: 327.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/10.3, allocations: 0.6451 MB / 5.129 GB, free: 327.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/10.31, allocations: 10.43 MB / 5.14 GB, free: 321.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/10.31, allocations: 1.236 MB / 5.141 GB, free: 320.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001193/10.31, allocations: 386.3 kB / 5.141 GB, free: 320.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003794/10.31, allocations: 360.7 kB / 5.142 GB, free: 320.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.203e-06/10.31, allocations: 3.344 kB / 5.142 GB, free: 320.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06617/10.38, allocations: 47.38 MB / 5.188 GB, free: 282.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/10.38, allocations: 281.9 kB / 5.188 GB, free: 282.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.374/13.75, allocations: 4 kB / 5.188 GB, free: 282.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat does not exist to compare? outputFormat=mat