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.292/2.292, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001364/0.001364, allocations: 176.9 kB / 496.1 MB, free: 12.88 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.495/1.495, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.001062/0.001062, allocations: 99.88 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.426e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2963, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.785/6.081, allocations: 1.87 GB / 3.089 GB, free: 364.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/6.082, allocations: 95.83 kB / 3.089 GB, free: 364.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.354/13.44, allocations: 1.996 GB / 5.085 GB, free: 198.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.696e-06/13.44, allocations: 0 / 5.085 GB, free: 198.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001223/13.44, allocations: 35.92 kB / 5.085 GB, free: 198.6 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.003891/13.44, allocations: 1.279 MB / 5.087 GB, free: 197.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/13.44, allocations: 12.03 kB / 5.087 GB, free: 197.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002061/13.44, allocations: 98.52 kB / 5.087 GB, free: 197.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009903/13.44, allocations: 202.4 kB / 5.087 GB, free: 196.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003508/13.44, allocations: 1.426 MB / 5.088 GB, free: 195.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/13.44, allocations: 45.31 kB / 5.088 GB, free: 195.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/13.44, allocations: 64 kB / 5.088 GB, free: 195.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/13.45, allocations: 0.9265 MB / 5.089 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/13.45, allocations: 7.875 kB / 5.089 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/13.45, allocations: 27.95 kB / 5.089 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/13.45, allocations: 16 kB / 5.089 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000883/13.45, allocations: 0.7064 MB / 5.09 GB, free: 193.6 MB / 1.167 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.004166/13.45, allocations: 4.733 MB / 5.095 GB, free: 188.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/13.45, allocations: 4.022 MB / 5.099 GB, free: 183.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/13.45, allocations: 317.9 kB / 5.099 GB, free: 183.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/13.45, allocations: 199.7 kB / 5.099 GB, free: 183.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003665/13.45, allocations: 305.2 kB / 5.099 GB, free: 182.8 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003364/13.45, allocations: 39.64 kB / 5.099 GB, free: 182.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 2.054e-06/13.45, allocations: 0 / 5.099 GB, free: 182.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.001309/13.46, allocations: 0.7391 MB / 5.1 GB, free: 182 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/13.46, allocations: 85.11 kB / 5.1 GB, free: 181.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/13.46, allocations: 1.027 MB / 5.101 GB, free: 180.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/13.46, allocations: 41.69 kB / 5.101 GB, free: 180.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/13.46, allocations: 0.5127 MB / 5.102 GB, free: 180.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/13.46, allocations: 130.2 kB / 5.102 GB, free: 180.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/13.46, allocations: 4 kB / 5.102 GB, free: 180.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/13.46, allocations: 330 kB / 5.102 GB, free: 179.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/13.46, allocations: 189 kB / 5.102 GB, free: 179.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/13.46, allocations: 0.5326 MB / 5.103 GB, free: 178.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/13.46, allocations: 299.1 kB / 5.103 GB, free: 178.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/13.46, allocations: 8 kB / 5.103 GB, free: 178.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001133/13.46, allocations: 0.9315 MB / 5.104 GB, free: 177.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005057/13.46, allocations: 2.237 MB / 5.106 GB, free: 175.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/13.46, allocations: 4 kB / 5.106 GB, free: 175.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/13.46, allocations: 233.3 kB / 5.106 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/13.46, allocations: 87.83 kB / 5.107 GB, free: 175 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007746/13.46, allocations: 0.9942 MB / 5.107 GB, free: 174 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009238/13.46, allocations: 103.7 kB / 5.108 GB, free: 173.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/13.46, allocations: 28 kB / 5.108 GB, free: 173.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/13.46, allocations: 4.625 kB / 5.108 GB, free: 173.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00105/13.46, allocations: 0.7362 MB / 5.108 GB, free: 173.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/13.46, allocations: 4 kB / 5.108 GB, free: 173.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004742/13.46, allocations: 233.7 kB / 5.109 GB, free: 172.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/13.46, allocations: 79.77 kB / 5.109 GB, free: 172.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/13.47, allocations: 2.877 MB / 5.111 GB, free: 169.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009726/13.47, allocations: 107.8 kB / 5.112 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/13.47, allocations: 24 kB / 5.112 GB, free: 169.6 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 () * 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.0001694/13.47, allocations: 137.1 kB / 5.112 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/13.47, allocations: 110.6 kB / 5.112 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/13.47, allocations: 0.7477 MB / 5.113 GB, free: 168.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/13.47, allocations: 4 kB / 5.113 GB, free: 168.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/13.47, allocations: 0 / 5.113 GB, free: 168.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/13.47, allocations: 3.984 kB / 5.113 GB, free: 168.6 MB / 1.167 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.002515/13.47, allocations: 2.116 MB / 5.115 GB, free: 166.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/13.47, allocations: 0 / 5.115 GB, free: 166.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/13.47, allocations: 51.91 kB / 5.115 GB, free: 166.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003438/13.47, allocations: 169 kB / 5.115 GB, free: 166.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/13.47, allocations: 12.19 kB / 5.115 GB, free: 166.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005904/13.47, allocations: 0.8642 MB / 5.116 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/13.47, allocations: 0 / 5.116 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009624/13.48, allocations: 0.9276 MB / 5.117 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/13.48, allocations: 235.7 kB / 5.117 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/13.48, allocations: 12 kB / 5.117 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/13.48, allocations: 83.7 kB / 5.117 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/13.48, allocations: 27.95 kB / 5.117 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/13.48, allocations: 16 kB / 5.117 GB, free: 163.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009353/13.48, allocations: 0.8104 MB / 5.118 GB, free: 163 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.21e-07/13.48, allocations: 4 kB / 5.118 GB, free: 163 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00195/13.48, allocations: 0.601 MB / 5.118 GB, free: 162.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) * 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.002729/13.48, allocations: 2.909 MB / 5.121 GB, free: 159.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001649/13.48, allocations: 1.107 MB / 5.122 GB, free: 158.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/13.48, allocations: 0 / 5.122 GB, free: 158.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003121/13.48, allocations: 235.6 kB / 5.122 GB, free: 158 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/13.49, allocations: 0.6448 MB / 5.123 GB, free: 157.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/13.49, allocations: 1.762 MB / 5.125 GB, free: 155.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/13.49, allocations: 1.246 MB / 5.126 GB, free: 154.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001822/13.49, allocations: 0.8123 MB / 5.127 GB, free: 153.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/13.49, allocations: 335.3 kB / 5.127 GB, free: 153.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.233e-06/13.49, allocations: 0 / 5.127 GB, free: 153.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07689/13.57, allocations: 51.59 MB / 5.178 GB, free: 102 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/13.57, allocations: 261.6 kB / 5.178 GB, free: 101.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.747/17.32, allocations: 0 / 5.178 GB, free: 101.6 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