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.865/2.865, allocations: 390.5 MB / 398 MB, free: 10.93 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.001284/0.001284, allocations: 184.8 kB / 491.2 MB, free: 1.562 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.693/1.693, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001121/0.001121, allocations: 95.7 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.799e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2959, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.804/6.099, allocations: 1.869 GB / 3.082 GB, free: 357.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/6.1, allocations: 89.77 kB / 3.082 GB, free: 357.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.314/13.41, allocations: 1.976 GB / 5.058 GB, free: 180.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.633e-06/13.41, allocations: 0 / 5.058 GB, free: 180.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000209/13.41, allocations: 31.98 kB / 5.058 GB, free: 180.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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004775/13.42, allocations: 1.291 MB / 5.059 GB, free: 179.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/13.42, allocations: 12.03 kB / 5.059 GB, free: 179.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/13.42, allocations: 201.8 kB / 5.059 GB, free: 179 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004164/13.42, allocations: 1.429 MB / 5.061 GB, free: 177.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/13.42, allocations: 16 kB / 5.061 GB, free: 177.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/13.42, allocations: 40 kB / 5.061 GB, free: 177.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001158/13.43, allocations: 0.7013 MB / 5.061 GB, free: 176.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/13.43, allocations: 0.8492 MB / 5.062 GB, free: 175.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/13.43, allocations: 7.938 kB / 5.062 GB, free: 175.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.956e-05/13.43, allocations: 0 / 5.062 GB, free: 175.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/13.43, allocations: 16 kB / 5.062 GB, free: 175.8 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.00477/13.43, allocations: 4.596 MB / 5.067 GB, free: 170.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/13.43, allocations: 4.066 MB / 5.071 GB, free: 166 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/13.43, allocations: 341.6 kB / 5.071 GB, free: 165.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/13.43, allocations: 198.2 kB / 5.071 GB, free: 165.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003689/13.44, allocations: 300 kB / 5.072 GB, free: 165.2 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005314/13.44, allocations: 15.75 kB / 5.072 GB, free: 165.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 4.037e-06/13.44, allocations: 0 / 5.072 GB, free: 165.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001833/13.44, allocations: 0.8088 MB / 5.072 GB, free: 164.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/13.44, allocations: 89.11 kB / 5.072 GB, free: 164.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/13.44, allocations: 0.8985 MB / 5.073 GB, free: 163.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.079e-05/13.44, allocations: 29.7 kB / 5.073 GB, free: 163.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/13.44, allocations: 0.5199 MB / 5.074 GB, free: 162.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.767e-05/13.44, allocations: 126.1 kB / 5.074 GB, free: 162.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/13.44, allocations: 0 / 5.074 GB, free: 162.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.582e-05/13.44, allocations: 330 kB / 5.074 GB, free: 162.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/13.44, allocations: 201 kB / 5.074 GB, free: 162.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/13.44, allocations: 0.5316 MB / 5.075 GB, free: 161.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/13.44, allocations: 298.3 kB / 5.075 GB, free: 161.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/13.44, allocations: 0 / 5.075 GB, free: 161.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001975/13.44, allocations: 0.9573 MB / 5.076 GB, free: 160.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000985/13.44, allocations: 2.22 MB / 5.078 GB, free: 157.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/13.44, allocations: 8 kB / 5.078 GB, free: 157.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005251/13.44, allocations: 229.8 kB / 5.079 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/13.44, allocations: 79.89 kB / 5.079 GB, free: 157.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/13.45, allocations: 1.105 MB / 5.08 GB, free: 156.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/13.45, allocations: 91.8 kB / 5.08 GB, free: 156.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/13.45, allocations: 27.95 kB / 5.08 GB, free: 156.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/13.45, allocations: 8 kB / 5.08 GB, free: 156.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001165/13.45, allocations: 0.6408 MB / 5.08 GB, free: 155.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/13.45, allocations: 8.656 kB / 5.081 GB, free: 155.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/13.45, allocations: 205.9 kB / 5.081 GB, free: 155.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/13.45, allocations: 83.83 kB / 5.081 GB, free: 155.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/13.45, allocations: 2.768 MB / 5.083 GB, free: 152.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/13.45, allocations: 95.8 kB / 5.084 GB, free: 152.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.657e-05/13.45, allocations: 24 kB / 5.084 GB, free: 152.2 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 (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.0002969/13.46, allocations: 134.6 kB / 5.084 GB, free: 152.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001272/13.46, allocations: 0.6723 MB / 5.084 GB, free: 151.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/13.46, allocations: 110.6 kB / 5.084 GB, free: 151.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/13.46, allocations: 0.7069 MB / 5.085 GB, free: 150.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/13.46, allocations: 8 kB / 5.085 GB, free: 150.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/13.46, allocations: 0 / 5.085 GB, free: 150.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/13.46, allocations: 3.984 kB / 5.085 GB, free: 150.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 postOpt removeSimpleEquations (simulation): time 0.003115/13.46, allocations: 2.009 MB / 5.087 GB, free: 148.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/13.46, allocations: 4.484 kB / 5.087 GB, free: 148.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/13.46, allocations: 55.91 kB / 5.087 GB, free: 148.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002479/13.46, allocations: 136.7 kB / 5.087 GB, free: 148.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/13.46, allocations: 11.95 kB / 5.087 GB, free: 148.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006678/13.46, allocations: 0.8683 MB / 5.088 GB, free: 147.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/13.46, allocations: 8.016 kB / 5.088 GB, free: 147.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/13.46, allocations: 0.8817 MB / 5.089 GB, free: 146.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/13.46, allocations: 227.8 kB / 5.089 GB, free: 146.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/13.46, allocations: 7.984 kB / 5.089 GB, free: 146.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008719/13.47, allocations: 75.66 kB / 5.089 GB, free: 146 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/13.47, allocations: 35.95 kB / 5.089 GB, free: 146 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/13.47, allocations: 15.98 kB / 5.089 GB, free: 146 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009288/13.47, allocations: 0.6984 MB / 5.09 GB, free: 145.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/13.47, allocations: 0 / 5.09 GB, free: 145.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002057/13.47, allocations: 0.5619 MB / 5.091 GB, free: 144.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 (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.003244/13.47, allocations: 3.023 MB / 5.094 GB, free: 141.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002094/13.47, allocations: 1.077 MB / 5.095 GB, free: 140.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/13.47, allocations: 0 / 5.095 GB, free: 140.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003885/13.47, allocations: 219.8 kB / 5.095 GB, free: 140.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003956/13.48, allocations: 0.587 MB / 5.095 GB, free: 139.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/13.48, allocations: 1.702 MB / 5.097 GB, free: 137.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/13.48, allocations: 1.234 MB / 5.098 GB, free: 136.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002773/13.49, allocations: 0.7259 MB / 5.099 GB, free: 135.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005506/13.49, allocations: 331.3 kB / 5.099 GB, free: 135.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.054e-06/13.49, allocations: 4 kB / 5.099 GB, free: 135.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07864/13.57, allocations: 36.4 MB / 5.135 GB, free: 99.44 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/13.57, allocations: 212.5 kB / 5.135 GB, free: 99.15 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.344/16.91, allocations: 0 / 5.135 GB, free: 99.15 MB / 1.151 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