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.187/2.187, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001084/0.001084, allocations: 176.8 kB / 487.4 MB, free: 5.023 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.509/1.509, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 99.8 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.336e-05/2.337e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3046, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.429/5.734, allocations: 1.869 GB / 3.075 GB, free: 362.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/5.734, allocations: 99.52 kB / 3.075 GB, free: 362.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.796/12.53, allocations: 1.976 GB / 5.051 GB, free: 215.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.533e-06/12.53, allocations: 4 kB / 5.051 GB, free: 215.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001177/12.53, allocations: 39.92 kB / 5.051 GB, free: 215.8 MB / 1.151 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.004011/12.53, allocations: 1.271 MB / 5.052 GB, free: 214.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/12.53, allocations: 12.02 kB / 5.052 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/12.54, allocations: 196 kB / 5.052 GB, free: 214.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/12.54, allocations: 1.436 MB / 5.054 GB, free: 212.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/12.54, allocations: 20 kB / 5.054 GB, free: 212.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-05/12.54, allocations: 40 kB / 5.054 GB, free: 212.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009357/12.54, allocations: 0.7014 MB / 5.054 GB, free: 212 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009561/12.54, allocations: 0.8454 MB / 5.055 GB, free: 211 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/12.54, allocations: 7.938 kB / 5.055 GB, free: 211 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/12.54, allocations: 4 kB / 5.055 GB, free: 211 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/12.54, allocations: 15.95 kB / 5.055 GB, free: 211 MB / 1.151 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.00367/12.54, allocations: 4.596 MB / 5.06 GB, free: 206.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/12.55, allocations: 4.076 MB / 5.064 GB, free: 201.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/12.55, allocations: 339.3 kB / 5.064 GB, free: 200.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/12.55, allocations: 194.2 kB / 5.064 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003385/12.55, allocations: 293.8 kB / 5.064 GB, free: 200.3 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004/12.55, allocations: 23.69 kB / 5.064 GB, free: 200.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.224e-06/12.55, allocations: 3.938 kB / 5.064 GB, free: 200.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001539/12.55, allocations: 0.805 MB / 5.065 GB, free: 199.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/12.55, allocations: 89.09 kB / 5.065 GB, free: 199.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009191/12.55, allocations: 0.8908 MB / 5.066 GB, free: 198.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/12.55, allocations: 29.7 kB / 5.066 GB, free: 198.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/12.55, allocations: 0.5238 MB / 5.067 GB, free: 197.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/12.55, allocations: 134.2 kB / 5.067 GB, free: 197.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/12.55, allocations: 0 / 5.067 GB, free: 197.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.865e-05/12.55, allocations: 322 kB / 5.067 GB, free: 197.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/12.55, allocations: 212.9 kB / 5.067 GB, free: 197.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/12.55, allocations: 0.5316 MB / 5.068 GB, free: 196.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/12.55, allocations: 289.4 kB / 5.068 GB, free: 196.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/12.55, allocations: 4 kB / 5.068 GB, free: 196.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001423/12.55, allocations: 0.9538 MB / 5.069 GB, free: 195.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004495/12.55, allocations: 2.228 MB / 5.071 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/12.55, allocations: 4 kB / 5.071 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/12.55, allocations: 226 kB / 5.071 GB, free: 192.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/12.55, allocations: 75.83 kB / 5.072 GB, free: 192.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008897/12.55, allocations: 1.117 MB / 5.073 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/12.56, allocations: 87.81 kB / 5.073 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/12.56, allocations: 31.98 kB / 5.073 GB, free: 191.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/12.56, allocations: 4 kB / 5.073 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009472/12.56, allocations: 0.6485 MB / 5.073 GB, free: 190.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/12.56, allocations: 4 kB / 5.073 GB, free: 190.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000449/12.56, allocations: 206 kB / 5.074 GB, free: 190.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/12.56, allocations: 79.83 kB / 5.074 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/12.56, allocations: 2.777 MB / 5.076 GB, free: 187.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009534/12.56, allocations: 87.8 kB / 5.076 GB, free: 187.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/12.56, allocations: 27.95 kB / 5.076 GB, free: 187.4 MB / 1.151 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.0001591/12.56, allocations: 121 kB / 5.077 GB, free: 187.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008491/12.56, allocations: 0.6687 MB / 5.077 GB, free: 186.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.365e-05/12.56, allocations: 110.7 kB / 5.077 GB, free: 186.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/12.56, allocations: 0.7147 MB / 5.078 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/12.56, allocations: 4 kB / 5.078 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/12.56, allocations: 0 / 5.078 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/12.56, allocations: 4 kB / 5.078 GB, free: 185.8 MB / 1.151 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.002183/12.57, allocations: 2.013 MB / 5.08 GB, free: 183.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/12.57, allocations: 4 kB / 5.08 GB, free: 183.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/12.57, allocations: 47.91 kB / 5.08 GB, free: 183.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/12.57, allocations: 140.8 kB / 5.08 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/12.57, allocations: 4.25 kB / 5.08 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005212/12.57, allocations: 0.8761 MB / 5.081 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/12.57, allocations: 0 / 5.081 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008493/12.57, allocations: 0.8907 MB / 5.082 GB, free: 181.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/12.57, allocations: 219.8 kB / 5.082 GB, free: 181.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/12.57, allocations: 12 kB / 5.082 GB, free: 181.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006602/12.57, allocations: 71.75 kB / 5.082 GB, free: 181.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-05/12.57, allocations: 39.84 kB / 5.082 GB, free: 181.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/12.57, allocations: 16 kB / 5.082 GB, free: 181.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006933/12.57, allocations: 0.6984 MB / 5.083 GB, free: 180.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.51e-07/12.57, allocations: 4 kB / 5.083 GB, free: 180.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001641/12.57, allocations: 0.5618 MB / 5.084 GB, free: 179.9 MB / 1.151 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.002565/12.57, allocations: 3.021 MB / 5.086 GB, free: 176.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001528/12.58, allocations: 1.073 MB / 5.088 GB, free: 175.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/12.58, allocations: 3.938 kB / 5.088 GB, free: 175.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002968/12.58, allocations: 220.3 kB / 5.088 GB, free: 175.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/12.58, allocations: 0.5813 MB / 5.088 GB, free: 174.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/12.58, allocations: 1.706 MB / 5.09 GB, free: 173.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/12.58, allocations: 1.238 MB / 5.091 GB, free: 171.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001667/12.58, allocations: 0.7298 MB / 5.092 GB, free: 171.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/12.58, allocations: 335.3 kB / 5.092 GB, free: 170.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.223e-06/12.58, allocations: 3.938 kB / 5.092 GB, free: 170.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06177/12.65, allocations: 36.4 MB / 5.128 GB, free: 134.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/12.65, allocations: 202.7 kB / 5.128 GB, free: 134.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.244/15.89, allocations: 0.9844 kB / 5.128 GB, free: 134.3 MB / 1.151 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