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.513/2.513, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001762/0.001762, allocations: 182.9 kB / 370.8 MB, free: 10.86 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.1/2.1, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001138/0.001138, allocations: 97.3 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006263/0.0006266, allocations: 13.19 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2076, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.8705/1.078, allocations: 135.7 MB / 1.111 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004548/1.083, allocations: 1.677 MB / 1.112 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006566/1.083, allocations: 8.844 kB / 1.112 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/1.085, allocations: 177.4 kB / 1.113 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002626/1.087, allocations: 0.495 MB / 1.113 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/1.09, allocations: 410 kB / 1.113 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003147/1.093, allocations: 1.507 MB / 1.115 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004713/1.097, allocations: 2.188 MB / 1.117 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/1.1, allocations: 0.694 MB / 1.118 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/1.101, allocations: 489.8 kB / 1.118 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000211/1.101, allocations: 37.53 kB / 1.118 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/1.103, allocations: 417.9 kB / 1.119 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006254/1.104, allocations: 258 kB / 1.119 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007868/1.105, allocations: 232 kB / 1.119 GB, free: 16.46 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/1.107, allocations: 0.9916 MB / 1.12 GB, free: 16.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.107, allocations: 0 / 1.12 GB, free: 16.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/1.107, allocations: 0 / 1.12 GB, free: 16.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.522e-05/1.107, allocations: 0 / 1.12 GB, free: 16.37 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.004053/1.111, allocations: 1.312 MB / 1.121 GB, free: 15.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.112, allocations: 14.97 kB / 1.121 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000361/1.112, allocations: 93.92 kB / 1.121 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/1.113, allocations: 182.7 kB / 1.122 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/1.116, allocations: 0.804 MB / 1.122 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.751e-05/1.116, allocations: 46.16 kB / 1.122 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/1.116, allocations: 62.28 kB / 1.123 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/1.118, allocations: 0.8184 MB / 1.123 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/1.119, allocations: 10.53 kB / 1.123 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.462e-05/1.119, allocations: 21.25 kB / 1.123 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/1.119, allocations: 14.28 kB / 1.123 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/1.121, allocations: 0.5695 MB / 1.124 GB, free: 14.85 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.009054/1.13, allocations: 4.255 MB / 1.128 GB, free: 11.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/1.131, allocations: 468.1 kB / 1.129 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.661e-05/1.131, allocations: 14.53 kB / 1.129 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009171/1.132, allocations: 325.3 kB / 1.129 GB, free: 11.83 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006479/1.133, allocations: 36.28 kB / 1.129 GB, free: 11.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.937e-06/1.133, allocations: 4 kB / 1.129 GB, free: 11.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.01012/1.143, allocations: 1.571 MB / 1.13 GB, free: 11.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/1.143, allocations: 106.8 kB / 1.131 GB, free: 11.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/1.146, allocations: 1.147 MB / 1.132 GB, free: 11.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001732/1.146, allocations: 41.2 kB / 1.132 GB, free: 11.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006513/1.147, allocations: 487.8 kB / 1.132 GB, free: 10.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/1.147, allocations: 116.9 kB / 1.132 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/1.147, allocations: 9.062 kB / 1.132 GB, free: 10.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.147, allocations: 329.7 kB / 1.133 GB, free: 10.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007758/1.148, allocations: 205.3 kB / 1.133 GB, free: 10.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/1.149, allocations: 0.5232 MB / 1.133 GB, free: 10.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009522/1.15, allocations: 315.5 kB / 1.134 GB, free: 9.918 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/1.15, allocations: 1.344 kB / 1.134 GB, free: 9.918 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00458/1.155, allocations: 1.05 MB / 1.135 GB, free: 9.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001129/1.156, allocations: 2.136 MB / 1.137 GB, free: 7.277 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/1.156, allocations: 5.812 kB / 1.137 GB, free: 7.277 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00285/1.159, allocations: 414.8 kB / 1.137 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/1.16, allocations: 98.11 kB / 1.137 GB, free: 7.125 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/1.163, allocations: 1.107 MB / 1.138 GB, free: 6.445 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/1.165, allocations: 89.38 kB / 1.138 GB, free: 6.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/1.165, allocations: 24.25 kB / 1.138 GB, free: 6.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.165, allocations: 3.438 kB / 1.138 GB, free: 6.41 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002872/1.168, allocations: 0.7873 MB / 1.139 GB, free: 6.168 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/1.168, allocations: 6.25 kB / 1.139 GB, free: 6.168 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/1.169, allocations: 239.9 kB / 1.139 GB, free: 6.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007249/1.17, allocations: 106.4 kB / 1.14 GB, free: 6.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007313/1.177, allocations: 3.118 MB / 1.143 GB, free: 4.277 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/1.179, allocations: 88 kB / 1.143 GB, free: 4.242 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/1.18, allocations: 29.23 kB / 1.143 GB, free: 4.238 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.001247/1.181, allocations: 468.2 kB / 1.143 GB, free: 3.973 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004035/1.181, allocations: 103.8 kB / 1.143 GB, free: 3.918 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/1.184, allocations: 0.7644 MB / 1.144 GB, free: 3.664 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/1.184, allocations: 3.688 kB / 1.144 GB, free: 3.664 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.184, allocations: 1.281 kB / 1.144 GB, free: 3.664 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/1.184, allocations: 5.109 kB / 1.144 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003366/1.187, allocations: 1.165 MB / 1.145 GB, free: 2.992 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/1.187, allocations: 1.312 kB / 1.145 GB, free: 2.992 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/1.188, allocations: 60.44 kB / 1.145 GB, free: 2.973 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/1.189, allocations: 276.7 kB / 1.145 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.069e-05/1.189, allocations: 11.94 kB / 1.145 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/1.191, allocations: 1.042 MB / 1.146 GB, free: 2.238 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/1.191, allocations: 2.219 kB / 1.146 GB, free: 2.238 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/1.194, allocations: 0.9286 MB / 1.147 GB, free: 1.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008526/1.195, allocations: 232.6 kB / 1.148 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002977/1.195, allocations: 7.906 kB / 1.148 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/1.197, allocations: 66.3 kB / 1.148 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/1.197, allocations: 31.27 kB / 1.148 GB, free: 1.539 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/1.197, allocations: 13.23 kB / 1.148 GB, free: 1.535 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001957/1.199, allocations: 0.8091 MB / 1.149 GB, free: 1.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.61e-07/1.199, allocations: 0 / 1.149 GB, free: 1.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002478/1.202, allocations: 476.5 kB / 1.149 GB, free: 1.238 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.003454/1.205, allocations: 1.908 MB / 1.151 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004868/1.21, allocations: 1.268 MB / 1.152 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.21, allocations: 1.219 kB / 1.152 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/1.211, allocations: 315.6 kB / 1.152 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006002/1.217, allocations: 0.6199 MB / 1.153 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02581/1.243, allocations: 10.23 MB / 1.163 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/1.245, allocations: 1.209 MB / 1.164 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002187/1.247, allocations: 343.1 kB / 1.164 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007188/1.248, allocations: 321.5 kB / 1.165 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of SimCode: time 2.184e-06/1.248, allocations: 0 / 1.165 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/1.364, allocations: 30.37 MB / 1.194 GB, free: 188 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004224/1.365, allocations: 266.2 kB / 1.195 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.597/4.961, allocations: 0 / 1.195 GB, free: 15.83 MB / 0.7448 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)