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.328/2.328, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001179/0.001179, allocations: 184.8 kB / 487.4 MB, free: 5.008 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.708/1.708, allocations: 221.5 MB / 0.7824 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 95.89 kB / 0.9219 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.963e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2917, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.547/4.839, allocations: 1.869 GB / 3.075 GB, free: 23.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/4.84, allocations: 87.95 kB / 3.075 GB, free: 23.22 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.396/9.236, allocations: 1.069 GB / 4.143 GB, free: 294.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.374e-06/9.236, allocations: 0 / 4.143 GB, free: 294.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002198/9.236, allocations: 35.98 kB / 4.143 GB, free: 294.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.004973/9.241, allocations: 1.268 MB / 4.145 GB, free: 293.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/9.241, allocations: 12.03 kB / 4.145 GB, free: 293.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/9.243, allocations: 202.4 kB / 4.145 GB, free: 293.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004152/9.247, allocations: 1.426 MB / 4.146 GB, free: 291.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/9.247, allocations: 20 kB / 4.146 GB, free: 291.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/9.247, allocations: 43.94 kB / 4.146 GB, free: 291.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001156/9.248, allocations: 0.6975 MB / 4.147 GB, free: 290.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/9.249, allocations: 0.8493 MB / 4.148 GB, free: 289.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/9.249, allocations: 7.938 kB / 4.148 GB, free: 289.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/9.25, allocations: 0 / 4.148 GB, free: 289.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/9.25, allocations: 19.98 kB / 4.148 GB, free: 289.9 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.004829/9.254, allocations: 4.59 MB / 4.152 GB, free: 285 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/9.256, allocations: 4.078 MB / 4.156 GB, free: 280.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/9.257, allocations: 338.5 kB / 4.156 GB, free: 279.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/9.257, allocations: 202.2 kB / 4.157 GB, free: 279.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003578/9.257, allocations: 294.1 kB / 4.157 GB, free: 279.2 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005673/9.258, allocations: 19.73 kB / 4.157 GB, free: 279.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 3.667e-06/9.258, allocations: 0 / 4.157 GB, free: 279.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001952/9.26, allocations: 0.8166 MB / 4.158 GB, free: 278.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/9.26, allocations: 85.11 kB / 4.158 GB, free: 278.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/9.261, allocations: 0.9024 MB / 4.159 GB, free: 277.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-05/9.261, allocations: 33.64 kB / 4.159 GB, free: 277.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/9.262, allocations: 0.516 MB / 4.159 GB, free: 276.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.643e-05/9.262, allocations: 130.1 kB / 4.159 GB, free: 276.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/9.262, allocations: 0 / 4.159 GB, free: 276.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.55e-05/9.262, allocations: 333.9 kB / 4.16 GB, free: 276.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/9.262, allocations: 201 kB / 4.16 GB, free: 276.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/9.262, allocations: 0.5432 MB / 4.16 GB, free: 275.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/9.263, allocations: 285.3 kB / 4.161 GB, free: 275.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/9.263, allocations: 4 kB / 4.161 GB, free: 275.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001627/9.264, allocations: 0.9692 MB / 4.162 GB, free: 274.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005191/9.265, allocations: 2.224 MB / 4.164 GB, free: 271.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/9.265, allocations: 4 kB / 4.164 GB, free: 271.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004362/9.265, allocations: 246.9 kB / 4.164 GB, free: 271.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/9.266, allocations: 91.67 kB / 4.164 GB, free: 271.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/9.267, allocations: 1.764 MB / 4.166 GB, free: 269.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/9.269, allocations: 91.83 kB / 4.166 GB, free: 269.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/9.269, allocations: 27.98 kB / 4.166 GB, free: 269.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/9.269, allocations: 4 kB / 4.166 GB, free: 269.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001048/9.27, allocations: 0.6521 MB / 4.167 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/9.27, allocations: 8 kB / 4.167 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004238/9.27, allocations: 202.3 kB / 4.167 GB, free: 268.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/9.27, allocations: 79.89 kB / 4.167 GB, free: 268.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/9.273, allocations: 2.791 MB / 4.17 GB, free: 265.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/9.275, allocations: 87.8 kB / 4.17 GB, free: 265.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/9.275, allocations: 31.92 kB / 4.17 GB, free: 265.5 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): 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.0001999/9.275, allocations: 133.9 kB / 4.17 GB, free: 265.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009937/9.276, allocations: 0.68 MB / 4.171 GB, free: 264.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/9.276, allocations: 98.78 kB / 4.171 GB, free: 264.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/9.277, allocations: 0.7187 MB / 4.171 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/9.277, allocations: 4.234 kB / 4.171 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/9.277, allocations: 0 / 4.171 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/9.277, allocations: 3.984 kB / 4.171 GB, free: 263.9 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.002557/9.28, allocations: 2.024 MB / 4.173 GB, free: 261.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/9.28, allocations: 0 / 4.173 GB, free: 261.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/9.28, allocations: 63.89 kB / 4.173 GB, free: 261.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/9.28, allocations: 161 kB / 4.174 GB, free: 261.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/9.28, allocations: 11.98 kB / 4.174 GB, free: 261.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008208/9.281, allocations: 1.485 MB / 4.175 GB, free: 259.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/9.281, allocations: 0 / 4.175 GB, free: 259.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009065/9.282, allocations: 0.8948 MB / 4.176 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/9.283, allocations: 227.7 kB / 4.176 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/9.283, allocations: 7.953 kB / 4.176 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007921/9.284, allocations: 75.75 kB / 4.176 GB, free: 258.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/9.284, allocations: 35.95 kB / 4.176 GB, free: 258.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/9.284, allocations: 15.94 kB / 4.176 GB, free: 258.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008713/9.285, allocations: 0.6945 MB / 4.177 GB, free: 257.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/9.285, allocations: 0 / 4.177 GB, free: 257.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002043/9.287, allocations: 0.5696 MB / 4.177 GB, free: 257.3 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): 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.002883/9.289, allocations: 3.004 MB / 4.18 GB, free: 254.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002338/9.292, allocations: 1.215 MB / 4.182 GB, free: 253 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/9.292, allocations: 0 / 4.182 GB, free: 253 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005053/9.292, allocations: 284.1 kB / 4.182 GB, free: 252.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/9.296, allocations: 0.5899 MB / 4.182 GB, free: 252.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/9.299, allocations: 1.718 MB / 4.184 GB, free: 250.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006319/9.3, allocations: 1.238 MB / 4.185 GB, free: 249.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001965/9.302, allocations: 0.7103 MB / 4.186 GB, free: 248.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/9.302, allocations: 331.3 kB / 4.186 GB, free: 248 MB / 1.151 GB Notification: Performance of SimCode: time 1.112e-06/9.302, allocations: 0 / 4.186 GB, free: 248 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06859/9.371, allocations: 36.3 MB / 4.222 GB, free: 211.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/9.371, allocations: 191.6 kB / 4.222 GB, free: 211.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.404/12.78, allocations: 0 / 4.222 GB, free: 211.7 MB / 1.151 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