Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001192/0.001192, allocations: 180.7 kB / 492.3 MB, free: 0.6133 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.552/1.552, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009393/0.0009392, allocations: 91.89 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.784e-05/3.786e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3012, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.811/6.113, allocations: 1.869 GB / 3.082 GB, free: 359.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/6.113, allocations: 87.56 kB / 3.082 GB, free: 359.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.383/13.5, allocations: 1.996 GB / 5.078 GB, free: 160.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.474e-06/13.5, allocations: 0 / 5.078 GB, free: 160.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002034/13.5, allocations: 31.98 kB / 5.078 GB, free: 160.3 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.00485/13.5, allocations: 1.283 MB / 5.079 GB, free: 158.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/13.5, allocations: 12.03 kB / 5.079 GB, free: 158.9 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004126/13.5, allocations: 98.5 kB / 5.079 GB, free: 158.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/13.5, allocations: 197.3 kB / 5.08 GB, free: 158.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004308/13.51, allocations: 1.433 MB / 5.081 GB, free: 157.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/13.51, allocations: 53.31 kB / 5.081 GB, free: 157.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/13.51, allocations: 60 kB / 5.081 GB, free: 157 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/13.51, allocations: 0.9254 MB / 5.082 GB, free: 156 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/13.51, allocations: 11.88 kB / 5.082 GB, free: 156 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.604e-05/13.51, allocations: 24 kB / 5.082 GB, free: 156 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/13.51, allocations: 16 kB / 5.082 GB, free: 156 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/13.51, allocations: 0.7025 MB / 5.083 GB, free: 155.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.004822/13.51, allocations: 4.74 MB / 5.087 GB, free: 150.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/13.52, allocations: 4.014 MB / 5.091 GB, free: 145.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000369/13.52, allocations: 330.5 kB / 5.092 GB, free: 145 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/13.52, allocations: 194.2 kB / 5.092 GB, free: 144.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/13.52, allocations: 310.4 kB / 5.092 GB, free: 144.5 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005277/13.52, allocations: 35.69 kB / 5.092 GB, free: 144.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.775e-06/13.52, allocations: 4 kB / 5.092 GB, free: 144.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001479/13.52, allocations: 0.7236 MB / 5.093 GB, free: 143.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/13.52, allocations: 85.11 kB / 5.093 GB, free: 143.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/13.52, allocations: 1.031 MB / 5.094 GB, free: 142.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.601e-05/13.52, allocations: 45.64 kB / 5.094 GB, free: 142.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/13.52, allocations: 0.5088 MB / 5.095 GB, free: 142 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.647e-05/13.52, allocations: 130.2 kB / 5.095 GB, free: 141.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/13.52, allocations: 8 kB / 5.095 GB, free: 141.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.459e-05/13.52, allocations: 326 kB / 5.095 GB, free: 141.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/13.52, allocations: 185 kB / 5.095 GB, free: 141.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/13.52, allocations: 0.5366 MB / 5.096 GB, free: 140.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/13.52, allocations: 299.1 kB / 5.096 GB, free: 140.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/13.52, allocations: 7.953 kB / 5.096 GB, free: 140.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001356/13.52, allocations: 0.9276 MB / 5.097 GB, free: 139.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005696/13.53, allocations: 2.227 MB / 5.099 GB, free: 137 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/13.53, allocations: 8 kB / 5.099 GB, free: 137 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/13.53, allocations: 237.5 kB / 5.099 GB, free: 136.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/13.53, allocations: 83.89 kB / 5.099 GB, free: 136.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008364/13.53, allocations: 0.9991 MB / 5.1 GB, free: 135.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/13.53, allocations: 103.7 kB / 5.1 GB, free: 135.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.329e-05/13.53, allocations: 31.98 kB / 5.1 GB, free: 135.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/13.53, allocations: 7.938 kB / 5.1 GB, free: 135.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001119/13.53, allocations: 0.7396 MB / 5.101 GB, free: 134.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/13.53, allocations: 4 kB / 5.101 GB, free: 134.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005082/13.53, allocations: 233.2 kB / 5.101 GB, free: 134.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/13.53, allocations: 75.89 kB / 5.101 GB, free: 134.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/13.53, allocations: 2.868 MB / 5.104 GB, free: 131.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/13.53, allocations: 99.8 kB / 5.104 GB, free: 131.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/13.53, allocations: 28 kB / 5.104 GB, free: 131.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 (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.000156/13.53, allocations: 143.7 kB / 5.105 GB, free: 131.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/13.53, allocations: 110.6 kB / 5.105 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/13.54, allocations: 0.7463 MB / 5.105 GB, free: 130.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/13.54, allocations: 7.938 kB / 5.105 GB, free: 130.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/13.54, allocations: 0 / 5.105 GB, free: 130.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/13.54, allocations: 3.984 kB / 5.105 GB, free: 130.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 postOpt removeSimpleEquations (simulation): time 0.002876/13.54, allocations: 2.124 MB / 5.107 GB, free: 128.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/13.54, allocations: 0 / 5.107 GB, free: 128.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/13.54, allocations: 51.91 kB / 5.108 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000357/13.54, allocations: 169.7 kB / 5.108 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/13.54, allocations: 11.95 kB / 5.108 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000556/13.54, allocations: 0.8607 MB / 5.109 GB, free: 126.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/13.54, allocations: 0 / 5.109 GB, free: 126.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/13.54, allocations: 0.9274 MB / 5.109 GB, free: 125.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000503/13.54, allocations: 235.7 kB / 5.11 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/13.54, allocations: 8 kB / 5.11 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008127/13.54, allocations: 87.7 kB / 5.11 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/13.54, allocations: 31.89 kB / 5.11 GB, free: 125.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/13.54, allocations: 16 kB / 5.11 GB, free: 125.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001043/13.54, allocations: 0.8104 MB / 5.111 GB, free: 124.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/13.54, allocations: 0 / 5.111 GB, free: 124.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002087/13.55, allocations: 0.6049 MB / 5.111 GB, free: 124.1 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.002893/13.55, allocations: 2.914 MB / 5.114 GB, free: 121.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001712/13.55, allocations: 1.102 MB / 5.115 GB, free: 120 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/13.55, allocations: 0 / 5.115 GB, free: 120 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000355/13.55, allocations: 235.8 kB / 5.115 GB, free: 119.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/13.55, allocations: 0.6446 MB / 5.116 GB, free: 119.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/13.56, allocations: 1.76 MB / 5.118 GB, free: 117.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/13.56, allocations: 1.242 MB / 5.119 GB, free: 116 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002131/13.56, allocations: 0.8162 MB / 5.12 GB, free: 115.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/13.56, allocations: 335.3 kB / 5.12 GB, free: 114.9 MB / 1.151 GB Notification: Performance of SimCode: time 9.02e-07/13.56, allocations: 0 / 5.12 GB, free: 114.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08404/13.64, allocations: 51.6 MB / 5.17 GB, free: 63.66 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/13.64, allocations: 245.3 kB / 5.171 GB, free: 63.34 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.744/17.39, allocations: 1.828 kB / 5.171 GB, free: 63.34 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat does not exist to compare? outputFormat=mat