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.237/2.237, 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.001151/0.001151, allocations: 180.3 kB / 498.1 MB, free: 5.668 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.473/1.473, allocations: 223.2 MB / 0.7948 GB, free: 17.83 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.000992/0.0009919, allocations: 104.2 kB / 0.9346 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003916, allocations: 6.906 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2796, allocations: 142.3 MB / 1.223 GB, free: 114 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.582/3.862, allocations: 1.872 GB / 3.095 GB, free: 142.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/3.862, allocations: 91.95 kB / 3.095 GB, free: 142.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.612/10.47, allocations: 2.008 GB / 5.103 GB, free: 345.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.593e-06/10.47, allocations: 3.469 kB / 5.103 GB, free: 345.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001502/10.47, allocations: 32.73 kB / 5.103 GB, free: 345.5 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005113/10.48, allocations: 1.576 MB / 5.105 GB, free: 344.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/10.48, allocations: 11.28 kB / 5.105 GB, free: 344.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003043/10.48, allocations: 100.3 kB / 5.105 GB, free: 344.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/10.48, allocations: 201.8 kB / 5.105 GB, free: 344.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003988/10.48, allocations: 1.459 MB / 5.106 GB, free: 344.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/10.49, allocations: 53.84 kB / 5.106 GB, free: 344.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/10.49, allocations: 68 kB / 5.106 GB, free: 344.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/10.49, allocations: 0.9507 MB / 5.107 GB, free: 344.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/10.49, allocations: 2.906 kB / 5.107 GB, free: 344.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.164e-05/10.49, allocations: 28.2 kB / 5.107 GB, free: 344.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/10.49, allocations: 14.97 kB / 5.107 GB, free: 344.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/10.49, allocations: 0.7574 MB / 5.108 GB, free: 344.2 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.003733/10.49, allocations: 4.698 MB / 5.113 GB, free: 341.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/10.49, allocations: 4.013 MB / 5.117 GB, free: 336.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/10.49, allocations: 195.2 kB / 5.117 GB, free: 336.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004198/10.49, allocations: 318.9 kB / 5.117 GB, free: 336.6 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003401/10.49, allocations: 37.03 kB / 5.117 GB, free: 336.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 2.004e-06/10.49, allocations: 0 / 5.117 GB, free: 336.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.003192/10.5, allocations: 1.421 MB / 5.119 GB, free: 336.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/10.5, allocations: 80.8 kB / 5.119 GB, free: 336.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/10.5, allocations: 1.045 MB / 5.12 GB, free: 336.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/10.5, allocations: 39.42 kB / 5.12 GB, free: 336.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/10.5, allocations: 0.519 MB / 5.12 GB, free: 336 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/10.5, allocations: 121.4 kB / 5.12 GB, free: 335.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/10.5, allocations: 10.25 kB / 5.12 GB, free: 335.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.501e-05/10.5, allocations: 335.4 kB / 5.121 GB, free: 335.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/10.5, allocations: 213.4 kB / 5.121 GB, free: 335.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004807/10.5, allocations: 0.5531 MB / 5.121 GB, free: 335.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/10.5, allocations: 325.3 kB / 5.122 GB, free: 335.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/10.5, allocations: 3.344 kB / 5.122 GB, free: 335.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001378/10.5, allocations: 1.005 MB / 5.123 GB, free: 335 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003939/10.5, allocations: 2.235 MB / 5.125 GB, free: 332.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/10.5, allocations: 3.625 kB / 5.125 GB, free: 332.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005278/10.5, allocations: 255.9 kB / 5.125 GB, free: 332.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/10.5, allocations: 78.44 kB / 5.125 GB, free: 332.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008112/10.5, allocations: 1.054 MB / 5.126 GB, free: 332.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009309/10.5, allocations: 108.2 kB / 5.126 GB, free: 332.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/10.5, allocations: 26.28 kB / 5.126 GB, free: 332.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/10.5, allocations: 4.156 kB / 5.126 GB, free: 332.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001258/10.51, allocations: 0.8174 MB / 5.127 GB, free: 332.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/10.51, allocations: 3.188 kB / 5.127 GB, free: 332.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000531/10.51, allocations: 255.5 kB / 5.127 GB, free: 332.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/10.51, allocations: 77.45 kB / 5.127 GB, free: 332.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003053/10.51, allocations: 3.155 MB / 5.131 GB, free: 330.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008692/10.51, allocations: 97.61 kB / 5.131 GB, free: 330.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/10.51, allocations: 27.47 kB / 5.131 GB, free: 330.7 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 (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.0004862/10.51, allocations: 482.5 kB / 5.131 GB, free: 330.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/10.51, allocations: 107.4 kB / 5.131 GB, free: 330.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/10.51, allocations: 0.817 MB / 5.132 GB, free: 330.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/10.51, allocations: 4.781 kB / 5.132 GB, free: 330.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/10.51, allocations: 3.953 kB / 5.132 GB, free: 330.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/10.51, allocations: 3.562 kB / 5.132 GB, free: 330.3 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.002668/10.52, allocations: 2.186 MB / 5.134 GB, free: 329.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/10.52, allocations: 7.312 kB / 5.134 GB, free: 329.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/10.52, allocations: 56.62 kB / 5.134 GB, free: 329.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004068/10.52, allocations: 199 kB / 5.134 GB, free: 329.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/10.52, allocations: 9.812 kB / 5.134 GB, free: 329.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005376/10.52, allocations: 0.8855 MB / 5.135 GB, free: 329 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/10.52, allocations: 3.609 kB / 5.135 GB, free: 329 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/10.52, allocations: 1.003 MB / 5.136 GB, free: 328.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004527/10.52, allocations: 234.8 kB / 5.136 GB, free: 328.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/10.52, allocations: 12.84 kB / 5.136 GB, free: 328.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006827/10.52, allocations: 87.92 kB / 5.137 GB, free: 328.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/10.52, allocations: 31.5 kB / 5.137 GB, free: 328.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/10.52, allocations: 14.97 kB / 5.137 GB, free: 328.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008853/10.52, allocations: 0.8238 MB / 5.137 GB, free: 328.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/10.52, allocations: 0 / 5.137 GB, free: 328.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001657/10.52, allocations: 0.6104 MB / 5.138 GB, free: 328.2 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 (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.002716/10.52, allocations: 2.994 MB / 5.141 GB, free: 326.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001709/10.53, allocations: 1.171 MB / 5.142 GB, free: 326.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/10.53, allocations: 0 / 5.142 GB, free: 326.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/10.53, allocations: 263.6 kB / 5.142 GB, free: 326.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/10.53, allocations: 0.6464 MB / 5.143 GB, free: 326.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009938/10.54, allocations: 10.45 MB / 5.153 GB, free: 320.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/10.54, allocations: 1.248 MB / 5.154 GB, free: 319.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001028/10.54, allocations: 375.8 kB / 5.155 GB, free: 319.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/10.54, allocations: 358.8 kB / 5.155 GB, free: 319.1 MB / 1.167 GB Notification: Performance of SimCode: time 8.82e-07/10.54, allocations: 6.625 kB / 5.155 GB, free: 319.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07249/10.61, allocations: 48.54 MB / 5.203 GB, free: 283.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/10.61, allocations: 271.6 kB / 5.203 GB, free: 282.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.197/13.81, allocations: 0.9844 kB / 5.203 GB, free: 282.9 MB / 1.167 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