Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.46/2.46, allocations: 387.4 MB / 394.9 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.001322/0.001322, allocations: 176.8 kB / 487.4 MB, free: 5.035 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.641/1.641, allocations: 221.5 MB / 0.7824 GB, free: 1.035 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.0009904/0.0009904, allocations: 98.45 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.278e-05/2.273e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3114, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.604/5.915, allocations: 1.871 GB / 3.077 GB, free: 363.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/5.915, allocations: 93.52 kB / 3.077 GB, free: 363.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.683/12.6, allocations: 1.986 GB / 5.063 GB, free: 201.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.653e-06/12.6, allocations: 0 / 5.063 GB, free: 201.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001186/12.6, allocations: 43.97 kB / 5.063 GB, free: 201.4 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003957/12.6, allocations: 1.271 MB / 5.065 GB, free: 200 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/12.6, allocations: 12.02 kB / 5.065 GB, free: 200 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/12.6, allocations: 196 kB / 5.065 GB, free: 199.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/12.61, allocations: 1.464 MB / 5.066 GB, free: 198.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/12.61, allocations: 16 kB / 5.066 GB, free: 198.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-05/12.61, allocations: 40 kB / 5.066 GB, free: 198.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009134/12.61, allocations: 0.6975 MB / 5.067 GB, free: 197.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009567/12.61, allocations: 0.8454 MB / 5.068 GB, free: 196.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/12.61, allocations: 3.938 kB / 5.068 GB, free: 196.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-05/12.61, allocations: 4 kB / 5.068 GB, free: 196.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/12.61, allocations: 12 kB / 5.068 GB, free: 196.6 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.003512/12.61, allocations: 4.576 MB / 5.072 GB, free: 191.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/12.61, allocations: 4.026 MB / 5.076 GB, free: 186.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/12.61, allocations: 343.1 kB / 5.077 GB, free: 186.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/12.62, allocations: 190.2 kB / 5.077 GB, free: 186.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003416/12.62, allocations: 292.8 kB / 5.077 GB, free: 186 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003329/12.62, allocations: 23.62 kB / 5.077 GB, free: 186 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 3.838e-06/12.62, allocations: 7.922 kB / 5.077 GB, free: 186 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001594/12.62, allocations: 0.8401 MB / 5.078 GB, free: 185.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/12.62, allocations: 85.05 kB / 5.078 GB, free: 185 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009262/12.62, allocations: 0.8989 MB / 5.079 GB, free: 184.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/12.62, allocations: 29.7 kB / 5.079 GB, free: 184.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/12.62, allocations: 0.5277 MB / 5.079 GB, free: 183.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/12.62, allocations: 122.2 kB / 5.08 GB, free: 183.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/12.62, allocations: 0 / 5.08 GB, free: 183.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/12.62, allocations: 330 kB / 5.08 GB, free: 183.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/12.62, allocations: 201 kB / 5.08 GB, free: 182.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/12.62, allocations: 0.5316 MB / 5.081 GB, free: 182.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/12.62, allocations: 293.3 kB / 5.081 GB, free: 181.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/12.62, allocations: 0 / 5.081 GB, free: 181.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001431/12.62, allocations: 0.9884 MB / 5.082 GB, free: 180.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004466/12.62, allocations: 2.22 MB / 5.084 GB, free: 178.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/12.62, allocations: 8 kB / 5.084 GB, free: 178.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004375/12.62, allocations: 258.3 kB / 5.084 GB, free: 178.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/12.62, allocations: 71.89 kB / 5.084 GB, free: 178.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009274/12.62, allocations: 1.166 MB / 5.085 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009899/12.62, allocations: 95.8 kB / 5.086 GB, free: 176.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/12.62, allocations: 24 kB / 5.086 GB, free: 176.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/12.62, allocations: 4 kB / 5.086 GB, free: 176.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009938/12.63, allocations: 0.6643 MB / 5.086 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/12.63, allocations: 8.047 kB / 5.086 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005188/12.63, allocations: 236.7 kB / 5.086 GB, free: 176 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/12.63, allocations: 79.83 kB / 5.087 GB, free: 175.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002827/12.63, allocations: 2.965 MB / 5.089 GB, free: 172.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009363/12.63, allocations: 92.17 kB / 5.09 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/12.63, allocations: 24 kB / 5.09 GB, free: 172.7 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 (37): * Single equations (assignments): 35 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001579/12.63, allocations: 134.6 kB / 5.09 GB, free: 172.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000876/12.63, allocations: 0.7034 MB / 5.09 GB, free: 171.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/12.63, allocations: 102.7 kB / 5.09 GB, free: 171.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/12.63, allocations: 0.7342 MB / 5.091 GB, free: 171 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/12.63, allocations: 7.938 kB / 5.091 GB, free: 171 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/12.63, allocations: 3.953 kB / 5.091 GB, free: 171 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/12.63, allocations: 3.984 kB / 5.091 GB, free: 171 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.002223/12.63, allocations: 2.048 MB / 5.093 GB, free: 168.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/12.63, allocations: 8.031 kB / 5.093 GB, free: 168.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/12.64, allocations: 43.95 kB / 5.093 GB, free: 168.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002725/12.64, allocations: 164.7 kB / 5.093 GB, free: 168.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/12.64, allocations: 11.92 kB / 5.093 GB, free: 168.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005443/12.64, allocations: 0.888 MB / 5.094 GB, free: 167.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/12.64, allocations: 16.05 kB / 5.094 GB, free: 167.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008604/12.64, allocations: 0.9172 MB / 5.095 GB, free: 166.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/12.64, allocations: 227.8 kB / 5.095 GB, free: 166.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/12.64, allocations: 4 kB / 5.095 GB, free: 166.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000657/12.64, allocations: 71.75 kB / 5.095 GB, free: 166.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/12.64, allocations: 43.84 kB / 5.096 GB, free: 166.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/12.64, allocations: 16 kB / 5.096 GB, free: 166.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007079/12.64, allocations: 0.6986 MB / 5.096 GB, free: 165.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/12.64, allocations: 0 / 5.096 GB, free: 165.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001678/12.64, allocations: 0.5734 MB / 5.097 GB, free: 165 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 (23): * Single equations (assignments): 20 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002395/12.64, allocations: 3.078 MB / 5.1 GB, free: 161.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001505/12.64, allocations: 1.085 MB / 5.101 GB, free: 160.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/12.64, allocations: 0 / 5.101 GB, free: 160.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003086/12.64, allocations: 240 kB / 5.101 GB, free: 160.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/12.65, allocations: 0.592 MB / 5.102 GB, free: 159.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/12.65, allocations: 1.706 MB / 5.103 GB, free: 158.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/12.65, allocations: 1.234 MB / 5.105 GB, free: 156.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00167/12.65, allocations: 0.726 MB / 5.105 GB, free: 156.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/12.65, allocations: 335.3 kB / 5.106 GB, free: 155.8 MB / 1.151 GB Notification: Performance of SimCode: time 5.71e-07/12.65, allocations: 0 / 5.106 GB, free: 155.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06201/12.71, allocations: 37.16 MB / 5.142 GB, free: 118.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/12.71, allocations: 196.2 kB / 5.142 GB, free: 118.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.266/15.98, allocations: 3.938 kB / 5.142 GB, free: 118.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat does not exist to compare? outputFormat=mat