Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.786/2.786, allocations: 287.5 MB / 302.4 MB, free: 8.289 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.00145/0.00145, allocations: 185.8 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.296/2.296, allocations: 205.4 MB / 0.6297 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.00104/0.001039, allocations: 92.41 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007911/0.0007916, allocations: 12.66 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.28, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.9641/1.244, allocations: 152.4 MB / 1.127 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005506/1.25, allocations: 2.063 MB / 1.129 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000805/1.251, allocations: 11.59 kB / 1.129 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/1.252, allocations: 155.3 kB / 1.129 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002659/1.254, allocations: 0.4978 MB / 1.13 GB, free: 480 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/1.256, allocations: 369 kB / 1.13 GB, free: 448 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005614/1.262, allocations: 3.26 MB / 1.133 GB, free: 16 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004749/1.267, allocations: 2.3 MB / 1.136 GB, free: 15.6 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/1.271, allocations: 1.052 MB / 1.137 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/1.273, allocations: 0.8571 MB / 1.138 GB, free: 15.21 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004967/1.274, allocations: 48.56 kB / 1.138 GB, free: 15.21 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003269/1.277, allocations: 0.5963 MB / 1.138 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/1.278, allocations: 329 kB / 1.139 GB, free: 15.11 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/1.279, allocations: 247.4 kB / 1.139 GB, free: 15.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003115/1.282, allocations: 1.179 MB / 1.14 GB, free: 14.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/1.282, allocations: 0 / 1.14 GB, free: 14.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.737e-06/1.282, allocations: 2.688 kB / 1.14 GB, free: 14.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.798e-05/1.283, allocations: 4 kB / 1.14 GB, free: 14.93 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005902/1.288, allocations: 1.508 MB / 1.141 GB, free: 13.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.212e-05/1.289, allocations: 12.92 kB / 1.141 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005046/1.289, allocations: 98.8 kB / 1.142 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/1.291, allocations: 209.2 kB / 1.142 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/1.294, allocations: 0.8695 MB / 1.143 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.891e-05/1.295, allocations: 50.81 kB / 1.143 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/1.295, allocations: 63.47 kB / 1.143 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/1.298, allocations: 0.9888 MB / 1.144 GB, free: 12.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/1.298, allocations: 6.031 kB / 1.144 GB, free: 12.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/1.298, allocations: 20.97 kB / 1.144 GB, free: 12.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/1.298, allocations: 14.91 kB / 1.144 GB, free: 12.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/1.301, allocations: 0.8064 MB / 1.144 GB, free: 12.64 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.0099/1.311, allocations: 4.816 MB / 1.149 GB, free: 8.848 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004173/1.315, allocations: 4.015 MB / 1.153 GB, free: 4.461 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/1.317, allocations: 351.6 kB / 1.153 GB, free: 4.395 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004789/1.317, allocations: 194.3 kB / 1.154 GB, free: 4.199 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/1.318, allocations: 335.2 kB / 1.154 GB, free: 4.047 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000774/1.319, allocations: 34.11 kB / 1.154 GB, free: 4.031 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 5.43e-06/1.319, allocations: 0 / 1.154 GB, free: 4.031 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.009312/1.328, allocations: 1.605 MB / 1.156 GB, free: 3.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.847e-05/1.328, allocations: 85.2 kB / 1.156 GB, free: 3.242 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/1.332, allocations: 1.172 MB / 1.157 GB, free: 2.875 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002016/1.332, allocations: 44.2 kB / 1.157 GB, free: 2.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007701/1.333, allocations: 0.5117 MB / 1.157 GB, free: 2.621 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/1.333, allocations: 127.2 kB / 1.157 GB, free: 2.531 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/1.333, allocations: 8.344 kB / 1.157 GB, free: 2.531 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.333, allocations: 328.8 kB / 1.158 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007901/1.334, allocations: 210.6 kB / 1.158 GB, free: 2.168 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/1.335, allocations: 0.5361 MB / 1.158 GB, free: 1.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/1.336, allocations: 323.8 kB / 1.159 GB, free: 1.625 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/1.336, allocations: 0.7188 kB / 1.159 GB, free: 1.625 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.004708/1.341, allocations: 1.038 MB / 1.16 GB, free: 1.238 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000307/1.341, allocations: 278.4 kB / 1.16 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/1.341, allocations: 5 kB / 1.16 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/1.344, allocations: 342.4 kB / 1.16 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/1.345, allocations: 110.2 kB / 1.16 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/1.347, allocations: 1.002 MB / 1.161 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/1.349, allocations: 88.81 kB / 1.162 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/1.349, allocations: 31.42 kB / 1.162 GB, free: 96 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.349, allocations: 4.812 kB / 1.162 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002959/1.352, allocations: 0.7971 MB / 1.162 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/1.352, allocations: 6.031 kB / 1.162 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/1.353, allocations: 228.1 kB / 1.163 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008117/1.354, allocations: 106 kB / 1.163 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006464/1.361, allocations: 2.939 MB / 1.166 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/1.363, allocations: 103.8 kB / 1.166 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/1.363, allocations: 22.53 kB / 1.166 GB, free: 13.96 MB / 0.7136 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 (38): * Single equations (assignments): 36 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.001194/1.364, allocations: 480.4 kB / 1.166 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/1.365, allocations: 107.2 kB / 1.166 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/1.367, allocations: 0.7863 MB / 1.167 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/1.367, allocations: 11.19 kB / 1.167 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.367, allocations: 4 kB / 1.167 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/1.367, allocations: 2.938 kB / 1.167 GB, free: 13.38 MB / 0.7136 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.005859/1.373, allocations: 2.118 MB / 1.169 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/1.373, allocations: 4 kB / 1.169 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006365/1.374, allocations: 85.14 kB / 1.169 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007761/1.375, allocations: 176.1 kB / 1.169 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.092e-05/1.375, allocations: 11.34 kB / 1.169 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/1.376, allocations: 0.8654 MB / 1.17 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.376, allocations: 0 / 1.17 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/1.379, allocations: 0.8566 MB / 1.171 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/1.38, allocations: 240.2 kB / 1.171 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004546/1.38, allocations: 8.812 kB / 1.171 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/1.382, allocations: 74.56 kB / 1.171 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/1.382, allocations: 33.39 kB / 1.171 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/1.382, allocations: 11.47 kB / 1.171 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002121/1.385, allocations: 0.8262 MB / 1.172 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.32e-07/1.385, allocations: 4 kB / 1.172 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002944/1.388, allocations: 0.5094 MB / 1.173 GB, free: 10.54 MB / 0.7136 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 (25): * 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): 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003153/1.391, allocations: 1.402 MB / 1.174 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00374/1.395, allocations: 1.141 MB / 1.175 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.395, allocations: 0 / 1.175 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008751/1.396, allocations: 265.3 kB / 1.175 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006807/1.402, allocations: 0.6475 MB / 1.176 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02432/1.427, allocations: 7.018 MB / 1.183 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/1.428, allocations: 1.215 MB / 1.184 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003182/1.432, allocations: 356.5 kB / 1.184 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/1.433, allocations: 363.9 kB / 1.185 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of SimCode: time 2.023e-06/1.433, allocations: 0 / 1.185 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1331/1.566, allocations: 31.31 MB / 1.215 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004979/1.567, allocations: 291.1 kB / 1.216 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.705/5.272, allocations: 0 / 1.216 GB, free: 6.629 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)