Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.609/1.609, allocations: 287.4 MB / 302.6 MB, free: 8.258 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.0009998/0.0009998, allocations: 187.4 kB / 371.1 MB, free: 10.81 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.37/1.37, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007076/0.0007077, allocations: 97.11 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005537/0.0005539, allocations: 16.02 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2227, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.5628/0.7856, allocations: 146.7 MB / 1.122 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00269/0.7883, allocations: 1.649 MB / 1.124 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.7886, allocations: 12.34 kB / 1.124 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.7891, allocations: 110 kB / 1.124 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.7902, allocations: 392.4 kB / 1.124 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009579/0.7912, allocations: 322.2 kB / 1.124 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002609/0.7938, allocations: 3.034 MB / 1.127 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008329/0.7946, allocations: 0.7296 MB / 1.128 GB, free: 352 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.7959, allocations: 0.8661 MB / 1.129 GB, free: 152 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007515/0.7967, allocations: 0.7068 MB / 1.13 GB, free: 0 / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.852e-05/0.7968, allocations: 36.94 kB / 1.13 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.7982, allocations: 0.5519 MB / 1.13 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003296/0.7986, allocations: 282.5 kB / 1.13 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.7989, allocations: 230.2 kB / 1.131 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.7999, allocations: 1.022 MB / 1.132 GB, free: 15.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7999, allocations: 5.75 kB / 1.132 GB, free: 15.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7999, allocations: 0 / 1.132 GB, free: 15.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.7999, allocations: 0 / 1.132 GB, free: 15.75 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.001915/0.8019, allocations: 1.292 MB / 1.133 GB, free: 14.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.8019, allocations: 8.688 kB / 1.133 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.802, allocations: 98.02 kB / 1.133 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006327/0.8027, allocations: 182.6 kB / 1.133 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.8039, allocations: 0.8364 MB / 1.134 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.8039, allocations: 41.34 kB / 1.134 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/0.804, allocations: 64.55 kB / 1.134 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.8051, allocations: 0.7994 MB / 1.135 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.8051, allocations: 1.281 kB / 1.135 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/0.8052, allocations: 23.56 kB / 1.135 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.8052, allocations: 18.94 kB / 1.135 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/0.8061, allocations: 0.536 MB / 1.136 GB, free: 14.19 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.004048/0.8101, allocations: 4.614 MB / 1.14 GB, free: 10.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.8108, allocations: 424.9 kB / 1.14 GB, free: 10.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.8112, allocations: 249.2 kB / 1.141 GB, free: 10.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/0.8115, allocations: 195.2 kB / 1.141 GB, free: 10.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004569/0.812, allocations: 297.7 kB / 1.141 GB, free: 10.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.315e-06/0.812, allocations: 0 / 1.141 GB, free: 10.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001291/0.8133, allocations: 0.6443 MB / 1.142 GB, free: 10.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.8134, allocations: 86.47 kB / 1.142 GB, free: 10.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.8146, allocations: 1.109 MB / 1.143 GB, free: 9.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.8147, allocations: 34.64 kB / 1.143 GB, free: 9.789 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.8151, allocations: 0.4883 MB / 1.143 GB, free: 9.566 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.041e-05/0.8151, allocations: 110.6 kB / 1.144 GB, free: 9.492 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.8152, allocations: 9.531 kB / 1.144 GB, free: 9.492 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8153, allocations: 325.3 kB / 1.144 GB, free: 9.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.8156, allocations: 184.4 kB / 1.144 GB, free: 9.141 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005442/0.8162, allocations: 0.5069 MB / 1.145 GB, free: 8.707 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/0.8169, allocations: 0.5907 MB / 1.145 GB, free: 8.375 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8169, allocations: 1.469 kB / 1.145 GB, free: 8.375 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001037/0.818, allocations: 0.6836 MB / 1.146 GB, free: 8.129 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.8181, allocations: 267.2 kB / 1.146 GB, free: 7.816 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.8182, allocations: 6.094 kB / 1.146 GB, free: 7.816 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.8182, allocations: 10.75 kB / 1.146 GB, free: 7.812 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.82, allocations: 378.3 kB / 1.146 GB, free: 7.684 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.8232, allocations: 6.098 MB / 1.152 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/0.824, allocations: 109.8 kB / 1.152 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.8241, allocations: 27.3 kB / 1.152 GB, free: 1.621 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.8241, allocations: 7.891 kB / 1.153 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008759/0.825, allocations: 0.5386 MB / 1.153 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.825, allocations: 5.5 kB / 1.153 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.825, allocations: 8.281 kB / 1.153 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/0.8256, allocations: 163.1 kB / 1.153 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.8256, allocations: 11.41 kB / 1.153 GB, free: 1.422 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006784/0.8263, allocations: 92.08 kB / 1.153 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.8263, allocations: 25.78 kB / 1.153 GB, free: 1.379 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.0006455/0.827, allocations: 478 kB / 1.154 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.8271, allocations: 97.56 kB / 1.154 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008798/0.828, allocations: 0.4986 MB / 1.154 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.828, allocations: 3.625 kB / 1.154 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.828, allocations: 1.094 kB / 1.154 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.828, allocations: 0 / 1.154 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.8301, allocations: 1.402 MB / 1.156 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.8302, allocations: 6.547 kB / 1.156 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/0.8308, allocations: 158.1 kB / 1.156 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.8308, allocations: 5.391 kB / 1.156 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.8308, allocations: 7.688 kB / 1.156 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002818/0.8336, allocations: 6.025 MB / 1.162 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8337, allocations: 2.938 kB / 1.162 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009289/0.8346, allocations: 0.6203 MB / 1.162 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/0.835, allocations: 216.8 kB / 1.163 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.8351, allocations: 10.66 kB / 1.163 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.8356, allocations: 54.39 kB / 1.163 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.8357, allocations: 36.45 kB / 1.163 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.8357, allocations: 8.469 kB / 1.163 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001087/0.8368, allocations: 0.786 MB / 1.163 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.482e-06/0.8368, allocations: 4 kB / 1.163 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001283/0.8381, allocations: 416.3 kB / 1.164 GB, free: 9.328 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.001412/0.8395, allocations: 1.222 MB / 1.165 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003121/0.8426, allocations: 1.1 MB / 1.166 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8427, allocations: 0 / 1.166 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007855/0.8435, allocations: 303.9 kB / 1.166 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.8457, allocations: 451.4 kB / 1.167 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.8578, allocations: 6.315 MB / 1.173 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008574/0.8587, allocations: 1.182 MB / 1.174 GB, free: 4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001239/0.8599, allocations: 374.6 kB / 1.175 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/0.8603, allocations: 311.9 kB / 1.175 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of SimCode: time 9.11e-07/0.8603, allocations: 4 kB / 1.175 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2216/1.082, allocations: 26.4 MB / 1.201 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/1.082, allocations: 260.1 kB / 1.201 GB, free: 248 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.201/4.283, allocations: 0 / 1.201 GB, free: 248 kB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)