Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.338/2.338, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001509/0.001509, allocations: 187.3 kB / 0.4901 GB, free: 2.215 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.988/1.988, allocations: 223.1 MB / 0.7992 GB, free: 14.61 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.001213/0.001212, allocations: 100.3 kB / 0.9396 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004225, allocations: 16.09 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3866, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.904/5.291, allocations: 1.873 GB / 3.102 GB, free: 79.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/5.291, allocations: 94.95 kB / 3.102 GB, free: 79.45 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.731/13.02, allocations: 2.008 GB / 5.11 GB, free: 324.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.765e-06/13.02, allocations: 4 kB / 5.11 GB, free: 324.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002153/13.02, allocations: 35.97 kB / 5.11 GB, free: 324.4 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.009133/13.03, allocations: 1.58 MB / 5.112 GB, free: 322.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.166e-05/13.03, allocations: 15.97 kB / 5.112 GB, free: 322.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004985/13.03, allocations: 98.52 kB / 5.112 GB, free: 322.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/13.03, allocations: 194.4 kB / 5.112 GB, free: 322.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006161/13.04, allocations: 1.465 MB / 5.113 GB, free: 321 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.267e-05/13.04, allocations: 53.25 kB / 5.113 GB, free: 321 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/13.04, allocations: 68 kB / 5.114 GB, free: 320.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/13.04, allocations: 0.9449 MB / 5.114 GB, free: 319.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/13.04, allocations: 7.938 kB / 5.114 GB, free: 319.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.685e-05/13.04, allocations: 24 kB / 5.114 GB, free: 319.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/13.04, allocations: 12 kB / 5.114 GB, free: 319.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/13.04, allocations: 0.7648 MB / 5.115 GB, free: 319.1 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.006392/13.05, allocations: 4.69 MB / 5.12 GB, free: 314.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/13.05, allocations: 4.015 MB / 5.124 GB, free: 309.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003711/13.05, allocations: 202.2 kB / 5.124 GB, free: 309 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006932/13.05, allocations: 321.3 kB / 5.124 GB, free: 308.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000727/13.05, allocations: 43.67 kB / 5.124 GB, free: 308.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 3.237e-06/13.06, allocations: 0 / 5.124 GB, free: 308.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.005434/13.06, allocations: 1.407 MB / 5.126 GB, free: 307.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/13.06, allocations: 81.11 kB / 5.126 GB, free: 307.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/13.06, allocations: 1.05 MB / 5.127 GB, free: 306 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-05/13.06, allocations: 41.7 kB / 5.127 GB, free: 306 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005023/13.06, allocations: 0.5204 MB / 5.127 GB, free: 305.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/13.06, allocations: 130.2 kB / 5.127 GB, free: 305.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/13.06, allocations: 8 kB / 5.127 GB, free: 305.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/13.06, allocations: 326 kB / 5.128 GB, free: 305 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/13.06, allocations: 205 kB / 5.128 GB, free: 304.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008022/13.06, allocations: 0.5522 MB / 5.128 GB, free: 304.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/13.07, allocations: 331.1 kB / 5.129 GB, free: 303.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/13.07, allocations: 7.938 kB / 5.129 GB, free: 303.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002452/13.07, allocations: 1.003 MB / 5.13 GB, free: 302.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005739/13.07, allocations: 2.229 MB / 5.132 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/13.07, allocations: 4 kB / 5.132 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009312/13.07, allocations: 270.9 kB / 5.132 GB, free: 300.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/13.07, allocations: 75.88 kB / 5.132 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/13.07, allocations: 1.049 MB / 5.133 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/13.07, allocations: 99.8 kB / 5.133 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/13.07, allocations: 31.98 kB / 5.133 GB, free: 298.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/13.07, allocations: 7.938 kB / 5.133 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002032/13.08, allocations: 0.8136 MB / 5.134 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/13.08, allocations: 8 kB / 5.134 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008666/13.08, allocations: 257.2 kB / 5.134 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/13.08, allocations: 79.83 kB / 5.135 GB, free: 297.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004939/13.08, allocations: 3.136 MB / 5.138 GB, free: 294.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/13.08, allocations: 111.8 kB / 5.138 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/13.08, allocations: 27.95 kB / 5.138 GB, free: 294.2 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.0009379/13.08, allocations: 475.6 kB / 5.138 GB, free: 293.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/13.09, allocations: 114.6 kB / 5.138 GB, free: 293.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/13.09, allocations: 0.8242 MB / 5.139 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/13.09, allocations: 8 kB / 5.139 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/13.09, allocations: 3.984 kB / 5.139 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/13.09, allocations: 0 / 5.139 GB, free: 292.8 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.004164/13.09, allocations: 2.193 MB / 5.141 GB, free: 290.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/13.09, allocations: 0 / 5.141 GB, free: 290.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/13.09, allocations: 43.97 kB / 5.141 GB, free: 290.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006717/13.09, allocations: 208.9 kB / 5.142 GB, free: 290.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/13.09, allocations: 8 kB / 5.142 GB, free: 290.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009015/13.09, allocations: 0.8723 MB / 5.142 GB, free: 289.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/13.09, allocations: 7.969 kB / 5.142 GB, free: 289.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/13.1, allocations: 1.002 MB / 5.143 GB, free: 288.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006457/13.1, allocations: 243.7 kB / 5.144 GB, free: 287.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/13.1, allocations: 11.94 kB / 5.144 GB, free: 287.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/13.1, allocations: 79.75 kB / 5.144 GB, free: 287.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/13.1, allocations: 31.89 kB / 5.144 GB, free: 287.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/13.1, allocations: 16 kB / 5.144 GB, free: 287.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001422/13.1, allocations: 0.8328 MB / 5.145 GB, free: 287 MB / 1.167 GB Notification: Performance of sort global known variables: time 3e-07/13.1, allocations: 0 / 5.145 GB, free: 287 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002773/13.1, allocations: 0.6127 MB / 5.145 GB, free: 286.4 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.003943/13.11, allocations: 3.006 MB / 5.148 GB, free: 283.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002603/13.11, allocations: 1.151 MB / 5.149 GB, free: 282.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/13.11, allocations: 0 / 5.149 GB, free: 282.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006848/13.11, allocations: 264 kB / 5.149 GB, free: 281.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004785/13.11, allocations: 0.6373 MB / 5.15 GB, free: 281.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/13.13, allocations: 10.47 MB / 5.16 GB, free: 270.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008404/13.13, allocations: 1.236 MB / 5.162 GB, free: 269.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001974/13.13, allocations: 384.6 kB / 5.162 GB, free: 268.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005745/13.13, allocations: 359.3 kB / 5.162 GB, free: 268.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.442e-06/13.13, allocations: 0 / 5.162 GB, free: 268.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/13.23, allocations: 48.55 MB / 5.21 GB, free: 220.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002555/13.23, allocations: 287.5 kB / 5.21 GB, free: 219.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.549/16.78, allocations: 0 / 5.21 GB, free: 219.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat does not exist to compare? outputFormat=mat