Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.172/2.172, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001059/0.001059, allocations: 177 kB / 498.1 MB, free: 5.738 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.409/1.409, allocations: 223.2 MB / 0.7948 GB, free: 17.97 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.0009438/0.0009439, allocations: 96.33 kB / 0.9346 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 13.62 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2474, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.886/4.134, allocations: 1.869 GB / 3.092 GB, free: 146.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/4.134, allocations: 97.25 kB / 3.092 GB, free: 146.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.452/7.586, allocations: 1.081 GB / 4.173 GB, free: 357.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.973e-06/7.586, allocations: 0.5625 kB / 4.173 GB, free: 357.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002009/7.586, allocations: 32.72 kB / 4.173 GB, free: 357.8 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.006307/7.593, allocations: 1.58 MB / 4.174 GB, free: 357.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/7.593, allocations: 10.5 kB / 4.174 GB, free: 357.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004625/7.593, allocations: 102.5 kB / 4.175 GB, free: 357.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/7.594, allocations: 197 kB / 4.175 GB, free: 357.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004373/7.599, allocations: 1.443 MB / 4.176 GB, free: 356.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.341e-05/7.599, allocations: 48.03 kB / 4.176 GB, free: 356.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/7.599, allocations: 62.03 kB / 4.176 GB, free: 356.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/7.6, allocations: 0.9527 MB / 4.177 GB, free: 356.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/7.6, allocations: 6.969 kB / 4.177 GB, free: 356.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-05/7.601, allocations: 28.73 kB / 4.177 GB, free: 356.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/7.601, allocations: 11.34 kB / 4.177 GB, free: 356.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/7.602, allocations: 0.7599 MB / 4.178 GB, free: 356.6 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.004228/7.606, allocations: 4.731 MB / 4.183 GB, free: 353.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/7.608, allocations: 4.065 MB / 4.187 GB, free: 349.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/7.608, allocations: 201.4 kB / 4.187 GB, free: 349.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004233/7.608, allocations: 319.2 kB / 4.187 GB, free: 349 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004323/7.609, allocations: 38.66 kB / 4.187 GB, free: 349 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 3.446e-06/7.609, allocations: 0 / 4.187 GB, free: 349 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.003017/7.612, allocations: 1.307 MB / 4.188 GB, free: 348.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/7.612, allocations: 80.86 kB / 4.188 GB, free: 348.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/7.613, allocations: 1.04 MB / 4.189 GB, free: 348.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/7.613, allocations: 39.95 kB / 4.19 GB, free: 348.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/7.613, allocations: 0.5169 MB / 4.19 GB, free: 348.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.261e-05/7.613, allocations: 129.1 kB / 4.19 GB, free: 348.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/7.613, allocations: 7.188 kB / 4.19 GB, free: 348.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.495e-05/7.614, allocations: 327.9 kB / 4.19 GB, free: 348 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/7.614, allocations: 215.5 kB / 4.191 GB, free: 348 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/7.614, allocations: 0.5504 MB / 4.191 GB, free: 347.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/7.615, allocations: 329.5 kB / 4.192 GB, free: 347.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/7.615, allocations: 3.75 kB / 4.192 GB, free: 347.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001405/7.616, allocations: 0.9861 MB / 4.192 GB, free: 347.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004082/7.617, allocations: 2.214 MB / 4.195 GB, free: 345.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/7.617, allocations: 11.09 kB / 4.195 GB, free: 345.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005158/7.617, allocations: 286.2 kB / 4.195 GB, free: 345.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/7.618, allocations: 92.17 kB / 4.195 GB, free: 345.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/7.619, allocations: 1.664 MB / 4.197 GB, free: 343.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/7.62, allocations: 99.39 kB / 4.197 GB, free: 343.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/7.62, allocations: 31.89 kB / 4.197 GB, free: 343.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-06/7.62, allocations: 4.094 kB / 4.197 GB, free: 343.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001267/7.621, allocations: 0.8063 MB / 4.198 GB, free: 343.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/7.621, allocations: 6.812 kB / 4.198 GB, free: 343.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/7.622, allocations: 214.7 kB / 4.198 GB, free: 343.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/7.622, allocations: 81.78 kB / 4.198 GB, free: 343.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/7.625, allocations: 2.954 MB / 4.201 GB, free: 342.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/7.626, allocations: 104.5 kB / 4.201 GB, free: 342.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/7.626, allocations: 27.44 kB / 4.201 GB, free: 342.5 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.0005654/7.627, allocations: 482 kB / 4.201 GB, free: 342.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/7.627, allocations: 107.9 kB / 4.201 GB, free: 342.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/7.628, allocations: 0.797 MB / 4.202 GB, free: 342.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/7.628, allocations: 3.719 kB / 4.202 GB, free: 342.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/7.628, allocations: 0 / 4.202 GB, free: 342.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/7.628, allocations: 3.797 kB / 4.202 GB, free: 342.2 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.002682/7.631, allocations: 2.16 MB / 4.204 GB, free: 341.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/7.631, allocations: 3.938 kB / 4.204 GB, free: 341.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/7.631, allocations: 62.28 kB / 4.204 GB, free: 341.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003565/7.632, allocations: 201.2 kB / 4.205 GB, free: 341.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/7.632, allocations: 14.25 kB / 4.205 GB, free: 341.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007552/7.632, allocations: 1.463 MB / 4.206 GB, free: 340.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/7.632, allocations: 0 / 4.206 GB, free: 340.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/7.633, allocations: 0.9702 MB / 4.207 GB, free: 339.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/7.634, allocations: 237 kB / 4.207 GB, free: 339.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/7.634, allocations: 14.59 kB / 4.207 GB, free: 339.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007128/7.635, allocations: 75.11 kB / 4.207 GB, free: 339.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/7.635, allocations: 40.52 kB / 4.207 GB, free: 339.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/7.635, allocations: 10.47 kB / 4.207 GB, free: 339.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009878/7.636, allocations: 0.8251 MB / 4.208 GB, free: 339.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.01e-07/7.636, allocations: 3.344 kB / 4.208 GB, free: 339.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001882/7.638, allocations: 0.6017 MB / 4.209 GB, free: 339.5 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.002771/7.641, allocations: 2.954 MB / 4.212 GB, free: 337.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002534/7.643, allocations: 1.28 MB / 4.213 GB, free: 337.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/7.643, allocations: 2.375 kB / 4.213 GB, free: 337.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005878/7.644, allocations: 317.7 kB / 4.213 GB, free: 337.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/7.647, allocations: 0.6418 MB / 4.214 GB, free: 337.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/7.658, allocations: 10.57 MB / 4.224 GB, free: 331.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006771/7.659, allocations: 1.238 MB / 4.225 GB, free: 331.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001192/7.66, allocations: 386.4 kB / 4.226 GB, free: 331.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/7.661, allocations: 352.6 kB / 4.226 GB, free: 331 MB / 1.167 GB Notification: Performance of SimCode: time 7.91e-07/7.661, allocations: 0 / 4.226 GB, free: 331 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0677/7.729, allocations: 47.21 MB / 4.272 GB, free: 314.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/7.729, allocations: 272.9 kB / 4.272 GB, free: 314.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.109/10.84, allocations: 64 / 4.272 GB, free: 314.6 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat does not exist to compare? outputFormat=mat