Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.57/2.57, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001301/0.001301, allocations: 183.5 kB / 0.4901 GB, free: 2.242 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.773/1.773, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001091/0.001091, allocations: 101.3 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005757/0.0005758, allocations: 12.2 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3463, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.869/5.215, allocations: 1.87 GB / 3.099 GB, free: 112.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/5.215, allocations: 93.27 kB / 3.1 GB, free: 112.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.24/12.46, allocations: 1.998 GB / 5.097 GB, free: 344.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.715e-06/12.46, allocations: 0 / 5.097 GB, free: 344.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002658/12.46, allocations: 27.23 kB / 5.097 GB, free: 344.3 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.00836/12.46, allocations: 1.582 MB / 5.099 GB, free: 343.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/12.46, allocations: 13.69 kB / 5.099 GB, free: 343.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005237/12.46, allocations: 100.8 kB / 5.099 GB, free: 343.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/12.47, allocations: 198.6 kB / 5.099 GB, free: 343.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005027/12.47, allocations: 1.447 MB / 5.1 GB, free: 343 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-05/12.47, allocations: 49.89 kB / 5.101 GB, free: 342.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/12.47, allocations: 65.25 kB / 5.101 GB, free: 342.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/12.47, allocations: 0.9515 MB / 5.102 GB, free: 342.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/12.47, allocations: 11.53 kB / 5.102 GB, free: 342.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.581e-05/12.47, allocations: 24.09 kB / 5.102 GB, free: 342.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/12.47, allocations: 17.84 kB / 5.102 GB, free: 342.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/12.47, allocations: 0.7601 MB / 5.102 GB, free: 342.4 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.005532/12.48, allocations: 4.728 MB / 5.107 GB, free: 338.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/12.48, allocations: 4.068 MB / 5.111 GB, free: 334.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003365/12.48, allocations: 205.5 kB / 5.111 GB, free: 334.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005159/12.48, allocations: 317.4 kB / 5.111 GB, free: 333.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006339/12.48, allocations: 36.45 kB / 5.111 GB, free: 333.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 4.659e-06/12.48, allocations: 0 / 5.111 GB, free: 333.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.003383/12.49, allocations: 1.306 MB / 5.113 GB, free: 333.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/12.49, allocations: 87.59 kB / 5.113 GB, free: 333.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/12.49, allocations: 1.041 MB / 5.114 GB, free: 332.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.059e-05/12.49, allocations: 41.56 kB / 5.114 GB, free: 332.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/12.49, allocations: 0.5087 MB / 5.114 GB, free: 332.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/12.49, allocations: 127.9 kB / 5.114 GB, free: 332.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/12.49, allocations: 8 kB / 5.114 GB, free: 332.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.494e-05/12.49, allocations: 333.7 kB / 5.115 GB, free: 331.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/12.49, allocations: 209.4 kB / 5.115 GB, free: 331.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/12.49, allocations: 0.5495 MB / 5.116 GB, free: 331.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/12.49, allocations: 328.1 kB / 5.116 GB, free: 331.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/12.49, allocations: 0 / 5.116 GB, free: 331.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001594/12.49, allocations: 0.9722 MB / 5.117 GB, free: 330.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000577/12.49, allocations: 2.233 MB / 5.119 GB, free: 328.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/12.49, allocations: 6.562 kB / 5.119 GB, free: 328.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005417/12.49, allocations: 236.4 kB / 5.119 GB, free: 328.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/12.49, allocations: 79.86 kB / 5.119 GB, free: 328.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009402/12.5, allocations: 1.004 MB / 5.12 GB, free: 327.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/12.5, allocations: 101.4 kB / 5.12 GB, free: 327.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/12.5, allocations: 32.11 kB / 5.12 GB, free: 327.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/12.5, allocations: 3.562 kB / 5.12 GB, free: 327.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001351/12.5, allocations: 0.7851 MB / 5.121 GB, free: 326.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/12.5, allocations: 7.719 kB / 5.121 GB, free: 326.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005994/12.5, allocations: 227.8 kB / 5.121 GB, free: 326.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/12.5, allocations: 85.02 kB / 5.121 GB, free: 326.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/12.5, allocations: 2.94 MB / 5.124 GB, free: 324.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/12.5, allocations: 103.7 kB / 5.124 GB, free: 324.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-05/12.5, allocations: 25.83 kB / 5.124 GB, free: 324.4 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.0007949/12.5, allocations: 485.5 kB / 5.125 GB, free: 324.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/12.5, allocations: 104.9 kB / 5.125 GB, free: 324 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/12.51, allocations: 0.7911 MB / 5.126 GB, free: 323.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/12.51, allocations: 3.531 kB / 5.126 GB, free: 323.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/12.51, allocations: 7.844 kB / 5.126 GB, free: 323.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/12.51, allocations: 0 / 5.126 GB, free: 323.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 postOpt removeSimpleEquations (simulation): time 0.003375/12.51, allocations: 2.153 MB / 5.128 GB, free: 322 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/12.51, allocations: 7.922 kB / 5.128 GB, free: 322 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/12.51, allocations: 52.94 kB / 5.128 GB, free: 322 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003704/12.51, allocations: 177.3 kB / 5.128 GB, free: 321.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/12.51, allocations: 15.73 kB / 5.128 GB, free: 321.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006353/12.51, allocations: 0.8502 MB / 5.129 GB, free: 321.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/12.51, allocations: 3.625 kB / 5.129 GB, free: 321.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/12.51, allocations: 0.962 MB / 5.13 GB, free: 320.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006007/12.51, allocations: 235.7 kB / 5.13 GB, free: 320.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/12.51, allocations: 14.77 kB / 5.13 GB, free: 320.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008304/12.51, allocations: 76.3 kB / 5.13 GB, free: 320 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.681e-05/12.51, allocations: 31.95 kB / 5.13 GB, free: 320 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/12.51, allocations: 15.98 kB / 5.13 GB, free: 319.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00113/12.52, allocations: 0.8267 MB / 5.131 GB, free: 319.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/12.52, allocations: 0 / 5.131 GB, free: 319.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002331/12.52, allocations: 0.5972 MB / 5.132 GB, free: 318.5 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.003231/12.52, allocations: 2.968 MB / 5.135 GB, free: 315.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002102/12.52, allocations: 1.137 MB / 5.136 GB, free: 314.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/12.52, allocations: 0 / 5.136 GB, free: 314.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004386/12.52, allocations: 254.1 kB / 5.136 GB, free: 314.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/12.53, allocations: 0.6431 MB / 5.137 GB, free: 313.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/12.54, allocations: 10.42 MB / 5.147 GB, free: 303 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/12.54, allocations: 1.237 MB / 5.148 GB, free: 301.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00132/12.54, allocations: 385.8 kB / 5.148 GB, free: 301.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/12.54, allocations: 363.3 kB / 5.149 GB, free: 301.1 MB / 1.167 GB Notification: Performance of SimCode: time 7.12e-07/12.54, allocations: 0 / 5.149 GB, free: 301.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07541/12.62, allocations: 47.39 MB / 5.195 GB, free: 254.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/12.62, allocations: 290 kB / 5.195 GB, free: 254.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.65/16.27, allocations: 0 / 5.195 GB, free: 254.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat does not exist to compare? outputFormat=mat