Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.756/2.756, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001946/0.001946, allocations: 180 kB / 0.4901 GB, free: 2.207 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.77/1.77, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001195/0.001194, allocations: 88.33 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006065/0.0006065, allocations: 13.5 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3576, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.729/5.087, allocations: 1.87 GB / 3.099 GB, free: 112.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/5.087, allocations: 96.5 kB / 3.099 GB, free: 112.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.06/9.147, allocations: 1.081 GB / 4.18 GB, free: 361.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.455e-06/9.147, allocations: 0 / 4.18 GB, free: 361.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000117/9.147, allocations: 26.05 kB / 4.18 GB, free: 361.4 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.005327/9.153, allocations: 1.59 MB / 4.182 GB, free: 360.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/9.153, allocations: 13.31 kB / 4.182 GB, free: 360.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002287/9.153, allocations: 100.2 kB / 4.182 GB, free: 360.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/9.154, allocations: 193.8 kB / 4.182 GB, free: 360.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003623/9.158, allocations: 1.444 MB / 4.183 GB, free: 360.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/9.158, allocations: 52.19 kB / 4.183 GB, free: 360.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-05/9.158, allocations: 65.94 kB / 4.183 GB, free: 360.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/9.159, allocations: 0.9525 MB / 4.184 GB, free: 360 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/9.159, allocations: 6.984 kB / 4.184 GB, free: 360 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/9.159, allocations: 29.22 kB / 4.184 GB, free: 360 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/9.159, allocations: 16.47 kB / 4.184 GB, free: 360 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/9.16, allocations: 0.7548 MB / 4.185 GB, free: 360 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004559/9.165, allocations: 4.723 MB / 4.19 GB, free: 356.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/9.167, allocations: 4.067 MB / 4.194 GB, free: 352.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003395/9.167, allocations: 199 kB / 4.194 GB, free: 352.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005709/9.168, allocations: 329 kB / 4.194 GB, free: 352.4 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005533/9.169, allocations: 29.84 kB / 4.194 GB, free: 352.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 4.218e-06/9.169, allocations: 0 / 4.194 GB, free: 352.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.003229/9.172, allocations: 1.296 MB / 4.196 GB, free: 352.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/9.172, allocations: 88.66 kB / 4.196 GB, free: 352.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/9.173, allocations: 1.038 MB / 4.197 GB, free: 351.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/9.173, allocations: 39.95 kB / 4.197 GB, free: 351.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/9.174, allocations: 0.5162 MB / 4.197 GB, free: 351.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.162e-05/9.174, allocations: 133.3 kB / 4.197 GB, free: 351.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/9.174, allocations: 11.28 kB / 4.197 GB, free: 351.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/9.174, allocations: 327.3 kB / 4.198 GB, free: 351.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/9.174, allocations: 215.5 kB / 4.198 GB, free: 351.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/9.175, allocations: 0.5539 MB / 4.198 GB, free: 351 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/9.175, allocations: 318.6 kB / 4.199 GB, free: 350.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/9.175, allocations: 0 / 4.199 GB, free: 350.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001478/9.177, allocations: 0.9854 MB / 4.2 GB, free: 350.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005253/9.177, allocations: 2.229 MB / 4.202 GB, free: 348.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/9.177, allocations: 7.547 kB / 4.202 GB, free: 348.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005814/9.178, allocations: 292.1 kB / 4.202 GB, free: 348.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/9.178, allocations: 92.91 kB / 4.202 GB, free: 348.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/9.18, allocations: 1.662 MB / 4.204 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/9.181, allocations: 104.1 kB / 4.204 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.554e-05/9.181, allocations: 30.48 kB / 4.204 GB, free: 347.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/9.181, allocations: 3.875 kB / 4.204 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001361/9.182, allocations: 0.797 MB / 4.205 GB, free: 347.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/9.182, allocations: 3.781 kB / 4.205 GB, free: 347.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004731/9.183, allocations: 222.5 kB / 4.205 GB, free: 347.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/9.183, allocations: 80.16 kB / 4.205 GB, free: 347.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/9.186, allocations: 2.953 MB / 4.208 GB, free: 345.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/9.188, allocations: 102.7 kB / 4.208 GB, free: 345.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.52e-05/9.188, allocations: 25.16 kB / 4.208 GB, free: 345.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008024/9.189, allocations: 487.2 kB / 4.208 GB, free: 345.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/9.189, allocations: 108.7 kB / 4.209 GB, free: 345.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/9.19, allocations: 0.8016 MB / 4.209 GB, free: 345.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/9.19, allocations: 3.719 kB / 4.209 GB, free: 345.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/9.19, allocations: 0 / 4.209 GB, free: 345.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/9.19, allocations: 11.64 kB / 4.209 GB, free: 345.3 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003091/9.193, allocations: 2.138 MB / 4.211 GB, free: 344.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/9.193, allocations: 0 / 4.211 GB, free: 344.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/9.194, allocations: 69.5 kB / 4.212 GB, free: 344.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003655/9.194, allocations: 202.3 kB / 4.212 GB, free: 344 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/9.194, allocations: 11.52 kB / 4.212 GB, free: 344 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007912/9.195, allocations: 1.476 MB / 4.213 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/9.195, allocations: 10.97 kB / 4.213 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/9.196, allocations: 0.9564 MB / 4.214 GB, free: 342.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000522/9.197, allocations: 238.7 kB / 4.214 GB, free: 341.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/9.197, allocations: 11.19 kB / 4.214 GB, free: 341.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000674/9.197, allocations: 75.48 kB / 4.214 GB, free: 341.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/9.197, allocations: 44.06 kB / 4.214 GB, free: 341.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/9.197, allocations: 13.58 kB / 4.214 GB, free: 341.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009502/9.198, allocations: 0.8243 MB / 4.215 GB, free: 341.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/9.198, allocations: 0 / 4.215 GB, free: 341.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001883/9.2, allocations: 0.6022 MB / 4.216 GB, free: 341.3 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002782/9.203, allocations: 2.939 MB / 4.219 GB, free: 339.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002597/9.206, allocations: 1.285 MB / 4.22 GB, free: 338.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/9.206, allocations: 0 / 4.22 GB, free: 338.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005946/9.206, allocations: 314.9 kB / 4.22 GB, free: 338.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/9.21, allocations: 0.6518 MB / 4.221 GB, free: 338.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/9.221, allocations: 10.55 MB / 4.231 GB, free: 328.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/9.222, allocations: 1.233 MB / 4.232 GB, free: 327.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001287/9.223, allocations: 391.8 kB / 4.233 GB, free: 326.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003976/9.223, allocations: 359.3 kB / 4.233 GB, free: 326.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.763e-06/9.223, allocations: 4 kB / 4.233 GB, free: 326.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06878/9.292, allocations: 47.21 MB / 4.279 GB, free: 280.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/9.292, allocations: 279.8 kB / 4.28 GB, free: 279.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.605/12.9, allocations: 0 / 4.28 GB, free: 279.7 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat does not exist to compare? outputFormat=mat