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.435/2.435, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001358/0.001358, allocations: 173 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.0009116/0.0009115, allocations: 87.91 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.139e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3141, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.741/6.055, allocations: 1.873 GB / 3.092 GB, free: 391.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/6.056, allocations: 87.94 kB / 3.092 GB, free: 391.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.441/13.5, allocations: 2.007 GB / 5.098 GB, free: 110.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.074e-06/13.5, allocations: 0 / 5.098 GB, free: 110.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001858/13.5, allocations: 35.98 kB / 5.098 GB, free: 110.6 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.004442/13.5, allocations: 1.272 MB / 5.099 GB, free: 109.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/13.5, allocations: 12.03 kB / 5.099 GB, free: 109.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003542/13.5, allocations: 98.52 kB / 5.1 GB, free: 109.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/13.5, allocations: 198.4 kB / 5.1 GB, free: 108.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004137/13.51, allocations: 1.453 MB / 5.101 GB, free: 107.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-05/13.51, allocations: 45.31 kB / 5.101 GB, free: 107.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/13.51, allocations: 67.95 kB / 5.101 GB, free: 107.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/13.51, allocations: 0.9215 MB / 5.102 GB, free: 106.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/13.51, allocations: 7.938 kB / 5.102 GB, free: 106.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.647e-05/13.51, allocations: 24 kB / 5.102 GB, free: 106.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/13.51, allocations: 12 kB / 5.102 GB, free: 106.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009441/13.51, allocations: 0.7064 MB / 5.103 GB, free: 105.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.004371/13.51, allocations: 4.703 MB / 5.107 GB, free: 100.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/13.52, allocations: 3.965 MB / 5.111 GB, free: 95.74 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/13.52, allocations: 330.4 kB / 5.112 GB, free: 95.42 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/13.52, allocations: 194.2 kB / 5.112 GB, free: 95.19 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003613/13.52, allocations: 313.2 kB / 5.112 GB, free: 94.87 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004741/13.52, allocations: 31.69 kB / 5.112 GB, free: 94.84 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.996e-06/13.52, allocations: 4 kB / 5.112 GB, free: 94.83 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001432/13.52, allocations: 0.7659 MB / 5.113 GB, free: 94.05 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/13.52, allocations: 81.11 kB / 5.113 GB, free: 93.96 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/13.52, allocations: 1.032 MB / 5.114 GB, free: 92.91 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/13.52, allocations: 37.7 kB / 5.114 GB, free: 92.87 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/13.52, allocations: 0.5205 MB / 5.115 GB, free: 92.34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.899e-05/13.52, allocations: 122.3 kB / 5.115 GB, free: 92.22 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/13.52, allocations: 8 kB / 5.115 GB, free: 92.21 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.444e-05/13.52, allocations: 326 kB / 5.115 GB, free: 91.89 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/13.52, allocations: 197 kB / 5.115 GB, free: 91.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/13.52, allocations: 0.5326 MB / 5.116 GB, free: 91.01 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/13.52, allocations: 303.1 kB / 5.116 GB, free: 90.71 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/13.52, allocations: 0 / 5.116 GB, free: 90.71 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001351/13.52, allocations: 0.9588 MB / 5.117 GB, free: 89.73 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004236/13.52, allocations: 2.227 MB / 5.119 GB, free: 87.34 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/13.52, allocations: 8 kB / 5.119 GB, free: 87.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005717/13.52, allocations: 277.8 kB / 5.119 GB, free: 87.06 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/13.52, allocations: 75.89 kB / 5.119 GB, free: 86.99 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000864/13.53, allocations: 1.038 MB / 5.12 GB, free: 85.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/13.53, allocations: 103.7 kB / 5.121 GB, free: 85.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.068e-05/13.53, allocations: 31.98 kB / 5.121 GB, free: 85.79 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/13.53, allocations: 8 kB / 5.121 GB, free: 85.79 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001141/13.53, allocations: 0.759 MB / 5.121 GB, free: 85.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/13.53, allocations: 4 kB / 5.121 GB, free: 85.01 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005609/13.53, allocations: 267.3 kB / 5.122 GB, free: 84.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/13.53, allocations: 71.89 kB / 5.122 GB, free: 84.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/13.53, allocations: 3.079 MB / 5.125 GB, free: 81.47 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/13.53, allocations: 103.8 kB / 5.125 GB, free: 81.37 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/13.53, allocations: 24 kB / 5.125 GB, free: 81.35 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.0001994/13.53, allocations: 145 kB / 5.125 GB, free: 81.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/13.53, allocations: 106.7 kB / 5.125 GB, free: 81.09 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/13.53, allocations: 0.7931 MB / 5.126 GB, free: 80.29 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/13.53, allocations: 4 kB / 5.126 GB, free: 80.28 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/13.53, allocations: 0 / 5.126 GB, free: 80.28 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/13.53, allocations: 3.984 kB / 5.126 GB, free: 80.28 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.002909/13.54, allocations: 2.14 MB / 5.128 GB, free: 78 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/13.54, allocations: 0 / 5.128 GB, free: 78 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/13.54, allocations: 47.91 kB / 5.128 GB, free: 77.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/13.54, allocations: 208.9 kB / 5.128 GB, free: 77.74 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/13.54, allocations: 8 kB / 5.128 GB, free: 77.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005964/13.54, allocations: 0.8801 MB / 5.129 GB, free: 76.83 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/13.54, allocations: 0 / 5.129 GB, free: 76.83 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/13.54, allocations: 0.9551 MB / 5.13 GB, free: 75.79 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/13.54, allocations: 231.7 kB / 5.13 GB, free: 75.54 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/13.54, allocations: 11.95 kB / 5.13 GB, free: 75.53 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008231/13.54, allocations: 79.75 kB / 5.13 GB, free: 75.45 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/13.54, allocations: 43.89 kB / 5.13 GB, free: 75.41 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/13.54, allocations: 16 kB / 5.13 GB, free: 75.39 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001079/13.54, allocations: 0.8184 MB / 5.131 GB, free: 74.56 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/13.54, allocations: 3.938 kB / 5.131 GB, free: 74.56 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002123/13.54, allocations: 0.6089 MB / 5.132 GB, free: 73.95 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.002743/13.55, allocations: 2.968 MB / 5.135 GB, free: 70.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001777/13.55, allocations: 1.126 MB / 5.136 GB, free: 69.74 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/13.55, allocations: 0 / 5.136 GB, free: 69.74 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003618/13.55, allocations: 247.5 kB / 5.136 GB, free: 69.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003364/13.55, allocations: 0.6495 MB / 5.137 GB, free: 68.86 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/13.56, allocations: 1.756 MB / 5.138 GB, free: 67.03 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006003/13.56, allocations: 1.242 MB / 5.139 GB, free: 65.76 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002097/13.56, allocations: 0.8084 MB / 5.14 GB, free: 64.95 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/13.56, allocations: 335.3 kB / 5.141 GB, free: 64.62 MB / 1.151 GB Notification: Performance of SimCode: time 1.112e-06/13.56, allocations: 0 / 5.141 GB, free: 64.62 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08089/13.64, allocations: 52.9 MB / 5.192 GB, free: 12.14 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/13.64, allocations: 252.1 kB / 5.193 GB, free: 11.81 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.645/17.29, allocations: 0 / 5.193 GB, free: 11.81 MB / 1.151 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