Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.588/2.588, allocations: 287.5 MB / 302.4 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001335, allocations: 184.3 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009505/0.0009504, allocations: 96.95 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006831/0.0006833, allocations: 15.12 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2132, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.8403/1.054, allocations: 146.7 MB / 1.122 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00398/1.058, allocations: 1.646 MB / 1.123 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005018/1.058, allocations: 8.719 kB / 1.123 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006104/1.059, allocations: 113 kB / 1.123 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001699/1.06, allocations: 395.4 kB / 1.124 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/1.062, allocations: 329.5 kB / 1.124 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004394/1.067, allocations: 3.012 MB / 1.127 GB, free: 424 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003797/1.07, allocations: 2.144 MB / 1.129 GB, free: 52 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/1.074, allocations: 0.8876 MB / 1.13 GB, free: 0 / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001941/1.076, allocations: 0.713 MB / 1.131 GB, free: 15.88 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002484/1.076, allocations: 33.94 kB / 1.131 GB, free: 15.88 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/1.078, allocations: 0.5594 MB / 1.131 GB, free: 15.83 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000582/1.079, allocations: 284.1 kB / 1.132 GB, free: 15.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005557/1.079, allocations: 230.9 kB / 1.132 GB, free: 15.72 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002014/1.081, allocations: 1.036 MB / 1.133 GB, free: 15.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/1.081, allocations: 0 / 1.133 GB, free: 15.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.525e-06/1.081, allocations: 0 / 1.133 GB, free: 15.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.656e-05/1.081, allocations: 0 / 1.133 GB, free: 15.62 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003532/1.085, allocations: 1.333 MB / 1.134 GB, free: 14.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.085, allocations: 11.28 kB / 1.134 GB, free: 14.81 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002535/1.085, allocations: 94.64 kB / 1.134 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/1.087, allocations: 183 kB / 1.134 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/1.089, allocations: 0.8068 MB / 1.135 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/1.089, allocations: 42.41 kB / 1.135 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/1.089, allocations: 58.94 kB / 1.135 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/1.091, allocations: 0.8294 MB / 1.136 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/1.091, allocations: 6.688 kB / 1.136 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.589e-05/1.091, allocations: 24.78 kB / 1.136 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/1.091, allocations: 13.97 kB / 1.136 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/1.093, allocations: 0.5687 MB / 1.137 GB, free: 14.09 MB / 0.698 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.006448/1.1, allocations: 4.252 MB / 1.141 GB, free: 10.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/1.101, allocations: 452.1 kB / 1.141 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007943/1.102, allocations: 350.6 kB / 1.142 GB, free: 10.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004164/1.102, allocations: 194 kB / 1.142 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008227/1.103, allocations: 330.6 kB / 1.142 GB, free: 10.44 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005478/1.104, allocations: 32.47 kB / 1.142 GB, free: 10.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.046e-06/1.104, allocations: 0 / 1.142 GB, free: 10.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0089/1.112, allocations: 1.578 MB / 1.144 GB, free: 9.746 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/1.113, allocations: 89.31 kB / 1.144 GB, free: 9.645 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/1.115, allocations: 1.144 MB / 1.145 GB, free: 9.281 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001456/1.115, allocations: 37.27 kB / 1.145 GB, free: 9.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005733/1.116, allocations: 493.3 kB / 1.145 GB, free: 9.043 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/1.116, allocations: 109.3 kB / 1.146 GB, free: 8.969 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/1.116, allocations: 8.531 kB / 1.146 GB, free: 8.969 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.116, allocations: 333.4 kB / 1.146 GB, free: 8.652 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006797/1.117, allocations: 208.3 kB / 1.146 GB, free: 8.605 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009717/1.118, allocations: 0.5187 MB / 1.147 GB, free: 8.184 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007885/1.119, allocations: 320 kB / 1.147 GB, free: 8.078 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.964e-06/1.119, allocations: 1.469 kB / 1.147 GB, free: 8.078 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004057/1.123, allocations: 1.046 MB / 1.148 GB, free: 7.684 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002435/1.123, allocations: 280.5 kB / 1.148 GB, free: 7.359 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.123, allocations: 5.625 kB / 1.148 GB, free: 7.359 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002572/1.126, allocations: 402.1 kB / 1.149 GB, free: 7.246 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/1.126, allocations: 104.3 kB / 1.149 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/1.129, allocations: 1.103 MB / 1.15 GB, free: 6.535 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.131, allocations: 90.94 kB / 1.15 GB, free: 6.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.055e-05/1.131, allocations: 22.41 kB / 1.15 GB, free: 6.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.131, allocations: 6.078 kB / 1.15 GB, free: 6.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002535/1.133, allocations: 0.8082 MB / 1.151 GB, free: 6.242 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.133, allocations: 5.344 kB / 1.151 GB, free: 6.242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/1.134, allocations: 237.7 kB / 1.151 GB, free: 6.176 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006705/1.135, allocations: 100.2 kB / 1.151 GB, free: 6.148 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00623/1.141, allocations: 3.076 MB / 1.154 GB, free: 4.355 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/1.143, allocations: 87.16 kB / 1.154 GB, free: 4.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.637e-05/1.143, allocations: 22.34 kB / 1.154 GB, free: 4.32 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (35): * Single equations (assignments): 33 * 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.000915/1.144, allocations: 469.4 kB / 1.154 GB, free: 4.055 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/1.144, allocations: 103.9 kB / 1.155 GB, free: 4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/1.147, allocations: 0.7791 MB / 1.155 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/1.147, allocations: 7.531 kB / 1.155 GB, free: 3.742 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.147, allocations: 12.91 kB / 1.155 GB, free: 3.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.147, allocations: 0 / 1.155 GB, free: 3.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004544/1.151, allocations: 1.747 MB / 1.157 GB, free: 2.895 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.151, allocations: 2.188 kB / 1.157 GB, free: 2.895 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/1.152, allocations: 56.09 kB / 1.157 GB, free: 2.879 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009992/1.153, allocations: 274.2 kB / 1.157 GB, free: 2.805 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/1.153, allocations: 7.25 kB / 1.157 GB, free: 2.805 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/1.155, allocations: 1.042 MB / 1.158 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.609e-06/1.155, allocations: 6.531 kB / 1.158 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/1.157, allocations: 0.9073 MB / 1.159 GB, free: 1.715 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007156/1.158, allocations: 229.8 kB / 1.16 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/1.158, allocations: 9.984 kB / 1.16 GB, free: 1.543 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.159, allocations: 67.12 kB / 1.16 GB, free: 1.516 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/1.16, allocations: 36.94 kB / 1.16 GB, free: 1.496 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/1.16, allocations: 10.94 kB / 1.16 GB, free: 1.496 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001649/1.161, allocations: 0.8123 MB / 1.16 GB, free: 1.227 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.161, allocations: 0 / 1.16 GB, free: 1.227 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0023/1.164, allocations: 481.5 kB / 1.161 GB, free: 1.188 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 10 * 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002729/1.166, allocations: 1.411 MB / 1.162 GB, free: 276 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00443/1.171, allocations: 1.255 MB / 1.164 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.171, allocations: 4 kB / 1.164 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/1.172, allocations: 317.8 kB / 1.164 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006065/1.178, allocations: 0.6322 MB / 1.164 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02074/1.199, allocations: 6.921 MB / 1.171 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009774/1.2, allocations: 1.183 MB / 1.172 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001832/1.202, allocations: 341.7 kB / 1.173 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006104/1.203, allocations: 323.2 kB / 1.173 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of SimCode: time 1.783e-06/1.203, allocations: 0 / 1.173 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/1.322, allocations: 30.4 MB / 1.203 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003801/1.322, allocations: 273.5 kB / 1.203 GB, free: 352 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.616/4.939, allocations: 2.953 kB / 1.203 GB, free: 352 kB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)