Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.653/1.653, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.001085/0.001084, allocations: 179 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0008548/0.0008548, allocations: 94.36 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004217, allocations: 12.06 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2515, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.6941/0.9456, allocations: 146.7 MB / 1.123 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003409/0.9491, allocations: 1.635 MB / 1.125 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003166/0.9494, allocations: 15.02 kB / 1.125 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005782/0.95, allocations: 121.1 kB / 1.125 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.9514, allocations: 472 kB / 1.126 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.9527, allocations: 325.3 kB / 1.126 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003535/0.9562, allocations: 3.026 MB / 1.129 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.9574, allocations: 0.7421 MB / 1.13 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.9593, allocations: 0.8789 MB / 1.131 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009579/0.9602, allocations: 0.7061 MB / 1.131 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.9604, allocations: 32.25 kB / 1.131 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.9627, allocations: 0.7918 MB / 1.132 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000422/0.9631, allocations: 278.1 kB / 1.132 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008425/0.964, allocations: 0.515 MB / 1.133 GB, free: 16.42 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.9652, allocations: 1.036 MB / 1.134 GB, free: 16.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9652, allocations: 1.969 kB / 1.134 GB, free: 16.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9652, allocations: 0 / 1.134 GB, free: 16.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.9653, allocations: 4 kB / 1.134 GB, free: 16.31 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.002396/0.9677, allocations: 1.3 MB / 1.135 GB, free: 15.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.9677, allocations: 9.438 kB / 1.135 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.9679, allocations: 93.7 kB / 1.135 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008131/0.9687, allocations: 179.8 kB / 1.135 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.9702, allocations: 0.8469 MB / 1.136 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.9703, allocations: 40.31 kB / 1.136 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/0.9703, allocations: 61.59 kB / 1.136 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.9715, allocations: 0.7967 MB / 1.137 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.9716, allocations: 1.25 kB / 1.137 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/0.9716, allocations: 26.08 kB / 1.137 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.9717, allocations: 17.02 kB / 1.137 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008654/0.9725, allocations: 0.5414 MB / 1.138 GB, free: 14.51 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.004204/0.9767, allocations: 4.603 MB / 1.142 GB, free: 10.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007711/0.9775, allocations: 430.9 kB / 1.143 GB, free: 10.49 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/0.978, allocations: 250 kB / 1.143 GB, free: 10.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/0.9783, allocations: 190.3 kB / 1.143 GB, free: 10.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005303/0.9788, allocations: 302.4 kB / 1.143 GB, free: 10.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.9789, allocations: 0 / 1.143 GB, free: 10.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001495/0.9804, allocations: 0.6482 MB / 1.144 GB, free: 9.906 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.9804, allocations: 81.77 kB / 1.144 GB, free: 9.812 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.982, allocations: 1.114 MB / 1.145 GB, free: 9.453 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.828e-05/0.9821, allocations: 37.86 kB / 1.145 GB, free: 9.422 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.9825, allocations: 495.1 kB / 1.146 GB, free: 9.207 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.9826, allocations: 112.4 kB / 1.146 GB, free: 9.125 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.9826, allocations: 8.781 kB / 1.146 GB, free: 9.125 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.9827, allocations: 324.6 kB / 1.146 GB, free: 8.812 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.9831, allocations: 184.6 kB / 1.146 GB, free: 8.773 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/0.9838, allocations: 0.5025 MB / 1.147 GB, free: 8.348 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008754/0.9846, allocations: 0.5891 MB / 1.147 GB, free: 8.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.9847, allocations: 1.406 kB / 1.147 GB, free: 8.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00125/0.9859, allocations: 0.6786 MB / 1.148 GB, free: 7.777 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.9861, allocations: 277.3 kB / 1.148 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.9861, allocations: 9 kB / 1.148 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.9862, allocations: 12.66 kB / 1.148 GB, free: 7.453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/0.9881, allocations: 380.5 kB / 1.149 GB, free: 7.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/0.9917, allocations: 6.089 MB / 1.154 GB, free: 1.324 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.9928, allocations: 114.7 kB / 1.155 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.9929, allocations: 25.78 kB / 1.155 GB, free: 1.266 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.9929, allocations: 10.23 kB / 1.155 GB, free: 1.262 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001124/0.994, allocations: 0.5301 MB / 1.155 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.994, allocations: 5.656 kB / 1.155 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.9941, allocations: 8 kB / 1.155 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/0.9946, allocations: 163.4 kB / 1.155 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.9947, allocations: 15.98 kB / 1.155 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008383/0.9955, allocations: 92.2 kB / 1.155 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.9956, allocations: 20.88 kB / 1.155 GB, free: 1.023 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007438/0.9963, allocations: 476.4 kB / 1.156 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.9965, allocations: 101.9 kB / 1.156 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009585/0.9974, allocations: 0.4971 MB / 1.156 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.9974, allocations: 7.141 kB / 1.156 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.9975, allocations: 1.094 kB / 1.156 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.9975, allocations: 4.984 kB / 1.156 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.9997, allocations: 1.398 MB / 1.158 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.9998, allocations: 3.016 kB / 1.158 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006308/1, allocations: 157.3 kB / 1.158 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/1, allocations: 2.156 kB / 1.158 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/1, allocations: 10.75 kB / 1.158 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002985/1.003, allocations: 6.023 MB / 1.164 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.003, allocations: 2.312 kB / 1.164 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/1.004, allocations: 0.6177 MB / 1.164 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/1.005, allocations: 222.1 kB / 1.165 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.005, allocations: 8.031 kB / 1.165 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/1.006, allocations: 56.17 kB / 1.165 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.006, allocations: 36.45 kB / 1.165 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/1.006, allocations: 13.22 kB / 1.165 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001228/1.007, allocations: 0.7848 MB / 1.166 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.007, allocations: 0 / 1.166 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001371/1.008, allocations: 411.5 kB / 1.166 GB, free: 8.996 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001565/1.01, allocations: 1.23 MB / 1.167 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003198/1.013, allocations: 1.101 MB / 1.168 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.013, allocations: 1.656 kB / 1.168 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008449/1.014, allocations: 307 kB / 1.169 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/1.017, allocations: 449.3 kB / 1.169 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.028, allocations: 6.311 MB / 1.175 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006776/1.029, allocations: 1.179 MB / 1.176 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001129/1.03, allocations: 371.5 kB / 1.177 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/1.03, allocations: 315.8 kB / 1.177 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/1.03, allocations: 2.469 kB / 1.177 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8062/1.836, allocations: 26.68 MB / 1.203 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/1.837, allocations: 272.8 kB / 1.203 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.074/4.911, allocations: 0 / 1.203 GB, free: 15.16 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)