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.392/2.392, allocations: 390.5 MB / 398 MB, free: 10.95 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.001543/0.001543, allocations: 179.9 kB / 491.2 MB, free: 1.594 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.685/1.685, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.001051/0.001051, allocations: 91.94 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.95e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2936, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.797/6.091, allocations: 1.872 GB / 3.084 GB, free: 359.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/6.091, allocations: 89.97 kB / 3.085 GB, free: 359.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.293/13.38, allocations: 1.986 GB / 5.071 GB, free: 175.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.104e-06/13.38, allocations: 0 / 5.071 GB, free: 175.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002175/13.38, allocations: 35.97 kB / 5.071 GB, free: 175.1 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.004891/13.39, allocations: 1.272 MB / 5.072 GB, free: 173.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/13.39, allocations: 8.031 kB / 5.072 GB, free: 173.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/13.39, allocations: 201.9 kB / 5.072 GB, free: 173.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00407/13.39, allocations: 1.453 MB / 5.073 GB, free: 172 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/13.4, allocations: 16 kB / 5.073 GB, free: 172 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/13.4, allocations: 40 kB / 5.074 GB, free: 172 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001071/13.4, allocations: 0.6975 MB / 5.074 GB, free: 171.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/13.4, allocations: 0.8493 MB / 5.075 GB, free: 170.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/13.4, allocations: 7.938 kB / 5.075 GB, free: 170.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.209e-05/13.4, allocations: 3.953 kB / 5.075 GB, free: 170.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/13.4, allocations: 16 kB / 5.075 GB, free: 170.3 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.004093/13.4, allocations: 4.569 MB / 5.08 GB, free: 165.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/13.4, allocations: 4.02 MB / 5.083 GB, free: 160.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/13.4, allocations: 340.6 kB / 5.084 GB, free: 160.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/13.4, allocations: 194.2 kB / 5.084 GB, free: 160.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/13.4, allocations: 295 kB / 5.084 GB, free: 159.7 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000416/13.4, allocations: 27.67 kB / 5.084 GB, free: 159.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 3.035e-06/13.4, allocations: 0 / 5.084 GB, free: 159.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001613/13.41, allocations: 0.8401 MB / 5.085 GB, free: 158.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/13.41, allocations: 89.11 kB / 5.085 GB, free: 158.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009431/13.41, allocations: 0.895 MB / 5.086 GB, free: 157.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/13.41, allocations: 29.7 kB / 5.086 GB, free: 157.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/13.41, allocations: 0.5277 MB / 5.087 GB, free: 157.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/13.41, allocations: 126.2 kB / 5.087 GB, free: 157.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/13.41, allocations: 0 / 5.087 GB, free: 157.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.146e-05/13.41, allocations: 326 kB / 5.087 GB, free: 156.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/13.41, allocations: 205 kB / 5.087 GB, free: 156.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/13.41, allocations: 0.5355 MB / 5.088 GB, free: 155.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/13.41, allocations: 294.1 kB / 5.088 GB, free: 155.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/13.41, allocations: 4 kB / 5.088 GB, free: 155.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001467/13.41, allocations: 0.9807 MB / 5.089 GB, free: 154.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000531/13.41, allocations: 2.221 MB / 5.091 GB, free: 152.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/13.41, allocations: 7.938 kB / 5.091 GB, free: 152.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004728/13.41, allocations: 269.5 kB / 5.091 GB, free: 152 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/13.41, allocations: 75.83 kB / 5.091 GB, free: 151.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009958/13.41, allocations: 1.163 MB / 5.093 GB, free: 150.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/13.41, allocations: 91.8 kB / 5.093 GB, free: 150.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/13.41, allocations: 24 kB / 5.093 GB, free: 150.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/13.41, allocations: 4 kB / 5.093 GB, free: 150.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001039/13.41, allocations: 0.6721 MB / 5.093 GB, free: 149.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/13.41, allocations: 4.094 kB / 5.093 GB, free: 149.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005229/13.42, allocations: 239.4 kB / 5.094 GB, free: 149.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/13.42, allocations: 75.89 kB / 5.094 GB, free: 149.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/13.42, allocations: 2.961 MB / 5.097 GB, free: 146.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009499/13.42, allocations: 87.8 kB / 5.097 GB, free: 146.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/13.42, allocations: 24 kB / 5.097 GB, free: 146.4 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.0001723/13.42, allocations: 131.8 kB / 5.097 GB, free: 146.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009373/13.42, allocations: 0.6996 MB / 5.097 GB, free: 145.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/13.42, allocations: 106.7 kB / 5.098 GB, free: 145.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/13.42, allocations: 0.742 MB / 5.098 GB, free: 144.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/13.42, allocations: 4 kB / 5.098 GB, free: 144.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/13.42, allocations: 4 kB / 5.098 GB, free: 144.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/13.42, allocations: 3.984 kB / 5.098 GB, free: 144.7 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.002612/13.42, allocations: 2.037 MB / 5.1 GB, free: 142.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/13.42, allocations: 8.031 kB / 5.1 GB, free: 142.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/13.43, allocations: 55.89 kB / 5.1 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002868/13.43, allocations: 156.7 kB / 5.101 GB, free: 142.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/13.43, allocations: 15.92 kB / 5.101 GB, free: 142.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005775/13.43, allocations: 0.8879 MB / 5.101 GB, free: 141.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/13.43, allocations: 12.03 kB / 5.101 GB, free: 141.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/13.43, allocations: 0.9249 MB / 5.102 GB, free: 140.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003615/13.43, allocations: 219.8 kB / 5.103 GB, free: 140.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/13.43, allocations: 7.953 kB / 5.103 GB, free: 140.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007867/13.43, allocations: 75.75 kB / 5.103 GB, free: 140.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/13.43, allocations: 39.89 kB / 5.103 GB, free: 140 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/13.43, allocations: 12 kB / 5.103 GB, free: 140 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009508/13.43, allocations: 0.7025 MB / 5.103 GB, free: 139.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/13.43, allocations: 0 / 5.103 GB, free: 139.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002183/13.43, allocations: 0.5773 MB / 5.104 GB, free: 138.7 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.003134/13.43, allocations: 3.073 MB / 5.107 GB, free: 135.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001759/13.44, allocations: 1.093 MB / 5.108 GB, free: 134.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/13.44, allocations: 4 kB / 5.108 GB, free: 134.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000341/13.44, allocations: 228.3 kB / 5.108 GB, free: 134.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003405/13.44, allocations: 0.5885 MB / 5.109 GB, free: 133.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/13.44, allocations: 1.702 MB / 5.11 GB, free: 131.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007624/13.44, allocations: 1.238 MB / 5.112 GB, free: 130.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002144/13.45, allocations: 0.7338 MB / 5.112 GB, free: 129.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/13.45, allocations: 331.3 kB / 5.113 GB, free: 129.5 MB / 1.151 GB Notification: Performance of SimCode: time 8.01e-07/13.45, allocations: 0 / 5.113 GB, free: 129.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07062/13.52, allocations: 37.16 MB / 5.149 GB, free: 92.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/13.52, allocations: 214.6 kB / 5.149 GB, free: 92.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.333/16.85, allocations: 32 / 5.149 GB, free: 92.3 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