Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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 3.072/3.072, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.00137/0.001369, allocations: 185.8 kB / 371 MB, free: 10.85 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.255/2.255, allocations: 205.4 MB / 0.6297 GB, free: 10.49 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.0009007/0.0009006, allocations: 96.41 kB / 0.743 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004737, allocations: 12.56 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2451, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.8504/1.096, allocations: 146.7 MB / 1.122 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003966/1.1, allocations: 1.645 MB / 1.123 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004638/1.1, allocations: 8.969 kB / 1.123 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006258/1.101, allocations: 108.5 kB / 1.123 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001571/1.102, allocations: 400.1 kB / 1.124 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/1.104, allocations: 329.5 kB / 1.124 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004309/1.108, allocations: 3.009 MB / 1.127 GB, free: 88 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003996/1.112, allocations: 2.147 MB / 1.129 GB, free: 15.72 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/1.115, allocations: 0.8592 MB / 1.13 GB, free: 15.53 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/1.117, allocations: 0.7062 MB / 1.131 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002951/1.118, allocations: 37.19 kB / 1.131 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/1.12, allocations: 0.5541 MB / 1.131 GB, free: 15.33 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000743/1.121, allocations: 280 kB / 1.132 GB, free: 15.29 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006141/1.122, allocations: 230.8 kB / 1.132 GB, free: 15.22 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002246/1.124, allocations: 1.035 MB / 1.133 GB, free: 15.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/1.124, allocations: 0 / 1.133 GB, free: 15.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/1.124, allocations: 5.859 kB / 1.133 GB, free: 15.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.581e-05/1.124, allocations: 0 / 1.133 GB, free: 15.12 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.003628/1.128, allocations: 1.333 MB / 1.134 GB, free: 14.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.128, allocations: 10.16 kB / 1.134 GB, free: 14.31 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002836/1.128, allocations: 93.67 kB / 1.134 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/1.129, allocations: 190.1 kB / 1.134 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/1.132, allocations: 0.8064 MB / 1.135 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.436e-05/1.132, allocations: 44.91 kB / 1.135 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/1.132, allocations: 58.16 kB / 1.135 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/1.134, allocations: 0.8283 MB / 1.136 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/1.134, allocations: 6.438 kB / 1.136 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.91e-05/1.134, allocations: 21.66 kB / 1.136 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/1.134, allocations: 13.69 kB / 1.136 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/1.136, allocations: 0.5733 MB / 1.137 GB, free: 13.59 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.007272/1.144, allocations: 4.255 MB / 1.141 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/1.145, allocations: 453.8 kB / 1.141 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008314/1.146, allocations: 350.6 kB / 1.142 GB, free: 10.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004381/1.146, allocations: 191.1 kB / 1.142 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008664/1.147, allocations: 330.8 kB / 1.142 GB, free: 9.957 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005802/1.148, allocations: 32.09 kB / 1.142 GB, free: 9.941 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.056e-06/1.148, allocations: 0 / 1.142 GB, free: 9.941 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.009654/1.157, allocations: 1.69 MB / 1.144 GB, free: 9.207 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/1.158, allocations: 86.34 kB / 1.144 GB, free: 9.113 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/1.161, allocations: 1.142 MB / 1.145 GB, free: 8.754 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002229/1.161, allocations: 38.86 kB / 1.145 GB, free: 8.723 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006971/1.162, allocations: 491.7 kB / 1.145 GB, free: 8.512 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/1.162, allocations: 112.3 kB / 1.146 GB, free: 8.434 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/1.162, allocations: 9.312 kB / 1.146 GB, free: 8.434 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.162, allocations: 329.7 kB / 1.146 GB, free: 8.121 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007294/1.163, allocations: 204.4 kB / 1.146 GB, free: 8.078 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/1.164, allocations: 0.5228 MB / 1.147 GB, free: 7.652 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009057/1.165, allocations: 324.5 kB / 1.147 GB, free: 7.543 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/1.165, allocations: 1.375 kB / 1.147 GB, free: 7.543 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004109/1.169, allocations: 1.044 MB / 1.148 GB, free: 7.152 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002703/1.169, allocations: 283.1 kB / 1.148 GB, free: 6.828 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/1.169, allocations: 5.031 kB / 1.148 GB, free: 6.828 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002352/1.172, allocations: 345.9 kB / 1.149 GB, free: 6.719 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/1.172, allocations: 98.11 kB / 1.149 GB, free: 6.695 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/1.174, allocations: 1.049 MB / 1.15 GB, free: 6.047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/1.176, allocations: 90.47 kB / 1.15 GB, free: 6.012 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/1.176, allocations: 26.55 kB / 1.15 GB, free: 6.008 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/1.176, allocations: 4.406 kB / 1.15 GB, free: 6.008 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002717/1.179, allocations: 0.7977 MB / 1.151 GB, free: 5.758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/1.179, allocations: 6.156 kB / 1.151 GB, free: 5.758 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/1.18, allocations: 248.9 kB / 1.151 GB, free: 5.691 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007449/1.181, allocations: 99.61 kB / 1.151 GB, free: 5.664 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/1.188, allocations: 3.053 MB / 1.154 GB, free: 3.875 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/1.189, allocations: 89.09 kB / 1.154 GB, free: 3.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/1.19, allocations: 24.66 kB / 1.154 GB, free: 3.84 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.00103/1.191, allocations: 471.5 kB / 1.154 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003788/1.191, allocations: 103.8 kB / 1.155 GB, free: 3.516 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/1.194, allocations: 0.7812 MB / 1.155 GB, free: 3.262 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/1.194, allocations: 2.844 kB / 1.155 GB, free: 3.262 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.194, allocations: 5.359 kB / 1.155 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.108e-06/1.194, allocations: 1.062 kB / 1.155 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004927/1.199, allocations: 1.743 MB / 1.157 GB, free: 2.422 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/1.199, allocations: 2.281 kB / 1.157 GB, free: 2.422 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/1.199, allocations: 64.48 kB / 1.157 GB, free: 2.402 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009721/1.2, allocations: 236 kB / 1.157 GB, free: 2.336 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/1.2, allocations: 10.98 kB / 1.157 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/1.202, allocations: 1.006 MB / 1.158 GB, free: 1.703 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.202, allocations: 1.469 kB / 1.158 GB, free: 1.703 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/1.204, allocations: 0.9132 MB / 1.159 GB, free: 1.262 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008468/1.205, allocations: 230.4 kB / 1.159 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/1.206, allocations: 14.81 kB / 1.159 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/1.207, allocations: 64.28 kB / 1.16 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.207, allocations: 33.27 kB / 1.16 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/1.207, allocations: 10.88 kB / 1.16 GB, free: 1.047 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001755/1.209, allocations: 0.8105 MB / 1.16 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.209, allocations: 0 / 1.16 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00219/1.211, allocations: 483 kB / 1.161 GB, free: 0.7422 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 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.002916/1.214, allocations: 1.407 MB / 1.162 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003635/1.218, allocations: 1.151 MB / 1.163 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.218, allocations: 1.75 kB / 1.163 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009881/1.219, allocations: 251.7 kB / 1.164 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00634/1.225, allocations: 0.6211 MB / 1.164 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02319/1.248, allocations: 6.811 MB / 1.171 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.25, allocations: 1.188 MB / 1.172 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001798/1.251, allocations: 341.6 kB / 1.172 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005844/1.252, allocations: 324 kB / 1.173 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of SimCode: time 1.103e-06/1.252, allocations: 1.859 kB / 1.173 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1012/1.353, allocations: 30.7 MB / 1.203 GB, free: 364 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004196/1.354, allocations: 283.7 kB / 1.203 GB, free: 0 / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.585/4.938, allocations: 48 / 1.203 GB, free: 16 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)