Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 252 MB / 267 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 178.1 kB / 326.6 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.4 MB / 0.5777 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008156/0.0008155, allocations: 91.97 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003313, allocations: 9.281 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2026, allocations: 106.3 MB / 0.9003 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1456/0.3483, allocations: 146.9 MB / 1.044 GB, free: 13.09 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003166/0.3515, allocations: 1.699 MB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.3519, allocations: 7.938 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.3523, allocations: 115.2 kB / 1.046 GB, free: 11.26 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.3535, allocations: 386.1 kB / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.3547, allocations: 328.3 kB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003002/0.3577, allocations: 2.988 MB / 1.049 GB, free: 7.57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.3589, allocations: 0.6837 MB / 1.05 GB, free: 6.875 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.3606, allocations: 0.8597 MB / 1.051 GB, free: 6.012 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009592/0.3616, allocations: 0.7079 MB / 1.051 GB, free: 5.301 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.3617, allocations: 36 kB / 1.051 GB, free: 5.266 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.363, allocations: 0.5574 MB / 1.052 GB, free: 4.707 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.3633, allocations: 282.9 kB / 1.052 GB, free: 4.43 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000357/0.3637, allocations: 233.1 kB / 1.052 GB, free: 4.195 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.3649, allocations: 1.017 MB / 1.053 GB, free: 3.176 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3649, allocations: 0 / 1.053 GB, free: 3.176 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3649, allocations: 0 / 1.053 GB, free: 3.176 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.3649, allocations: 3.938 kB / 1.053 GB, free: 3.172 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.002099/0.367, allocations: 1.299 MB / 1.055 GB, free: 1.809 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3671, allocations: 8.031 kB / 1.055 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.3672, allocations: 94.52 kB / 1.055 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007558/0.368, allocations: 190.5 kB / 1.055 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.3694, allocations: 0.7923 MB / 1.056 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.3695, allocations: 48.98 kB / 1.056 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/0.3696, allocations: 60 kB / 1.056 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4189/0.7884, allocations: 0.7931 MB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.7885, allocations: 5.156 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.7886, allocations: 23.11 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.7886, allocations: 13.08 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.7897, allocations: 0.5458 MB / 1.057 GB, free: 156.8 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.003716/0.7935, allocations: 4.602 MB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.7942, allocations: 427.8 kB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.7945, allocations: 247.4 kB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002666/0.7948, allocations: 197.4 kB / 1.062 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005073/0.7953, allocations: 298 kB / 1.063 GB, free: 153.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/0.7953, allocations: 1.203 kB / 1.063 GB, free: 153.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001449/0.7968, allocations: 0.6477 MB / 1.063 GB, free: 153.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.7969, allocations: 81.34 kB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.7982, allocations: 1.113 MB / 1.065 GB, free: 152.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.7983, allocations: 37.45 kB / 1.065 GB, free: 152.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.7987, allocations: 496.4 kB / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.7988, allocations: 112.8 kB / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.7988, allocations: 9.312 kB / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.487e-05/0.7989, allocations: 324.2 kB / 1.065 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.7992, allocations: 189.9 kB / 1.066 GB, free: 152.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005442/0.7998, allocations: 0.4963 MB / 1.066 GB, free: 151.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/0.8002, allocations: 302 kB / 1.066 GB, free: 151.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.8002, allocations: 2.906 kB / 1.066 GB, free: 151.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001103/0.8013, allocations: 0.6798 MB / 1.067 GB, free: 151.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.8015, allocations: 279.8 kB / 1.067 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.8015, allocations: 6.469 kB / 1.067 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.8015, allocations: 6.734 kB / 1.067 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/0.8036, allocations: 377 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.8061, allocations: 6.099 MB / 1.074 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.8072, allocations: 101.4 kB / 1.074 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-05/0.8073, allocations: 26.59 kB / 1.074 GB, free: 145.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.8073, allocations: 6.219 kB / 1.074 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/0.8085, allocations: 0.5335 MB / 1.074 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.8085, allocations: 9.359 kB / 1.074 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.8085, allocations: 11.02 kB / 1.074 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006714/0.8092, allocations: 164.1 kB / 1.075 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/0.8092, allocations: 13.16 kB / 1.075 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009253/0.8102, allocations: 94.88 kB / 1.075 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.8102, allocations: 25.91 kB / 1.075 GB, free: 145.3 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.0007822/0.811, allocations: 477 kB / 1.075 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.8112, allocations: 98.31 kB / 1.075 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.8123, allocations: 0.4966 MB / 1.076 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.8123, allocations: 3.219 kB / 1.076 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.8123, allocations: 0.7812 kB / 1.076 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.8124, allocations: 3.516 kB / 1.076 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.8147, allocations: 1.39 MB / 1.077 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/0.8147, allocations: 2.25 kB / 1.077 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007045/0.8154, allocations: 163.5 kB / 1.077 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.578e-05/0.8154, allocations: 7.109 kB / 1.077 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.8155, allocations: 9.656 kB / 1.077 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.8174, allocations: 6.017 MB / 1.083 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.8174, allocations: 2.75 kB / 1.083 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.8185, allocations: 0.6181 MB / 1.084 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004745/0.819, allocations: 217.7 kB / 1.084 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.8191, allocations: 12.11 kB / 1.084 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005929/0.8197, allocations: 53.94 kB / 1.084 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.8198, allocations: 32.16 kB / 1.084 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.8199, allocations: 10.16 kB / 1.084 GB, free: 138.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001362/0.8212, allocations: 0.783 MB / 1.085 GB, free: 138.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8212, allocations: 0 / 1.085 GB, free: 138.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001498/0.8227, allocations: 409.8 kB / 1.085 GB, free: 138.1 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_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.001475/0.8242, allocations: 1.246 MB / 1.086 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003409/0.8277, allocations: 1.104 MB / 1.087 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.8277, allocations: 0 / 1.087 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008767/0.8286, allocations: 301.4 kB / 1.088 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/0.831, allocations: 458.7 kB / 1.088 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.8434, allocations: 6.309 MB / 1.094 GB, free: 134.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008492/0.8443, allocations: 1.187 MB / 1.096 GB, free: 133.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00152/0.8458, allocations: 371.7 kB / 1.096 GB, free: 133.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000487/0.8463, allocations: 313.3 kB / 1.096 GB, free: 133.2 MB / 0.698 GB Notification: Performance of SimCode: time 7.42e-07/0.8463, allocations: 0.8125 kB / 1.096 GB, free: 133.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0446/0.8909, allocations: 26.42 MB / 1.122 GB, free: 108.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.8912, allocations: 277.1 kB / 1.122 GB, free: 108.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/3.657, allocations: 0 / 1.122 GB, free: 108.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)