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 2.68/2.68, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001303/0.001303, allocations: 172.5 kB / 371 MB, free: 10.9 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.18/2.18, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009125/0.0009122, allocations: 92.97 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006694/0.00067, allocations: 12.84 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2459, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.9532/1.199, allocations: 146.7 MB / 1.122 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004611/1.204, allocations: 1.651 MB / 1.123 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000642/1.205, allocations: 7.656 kB / 1.123 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007707/1.205, allocations: 108.3 kB / 1.123 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002119/1.207, allocations: 394.6 kB / 1.124 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/1.21, allocations: 329.2 kB / 1.124 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005279/1.215, allocations: 2.985 MB / 1.127 GB, free: 440 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/1.217, allocations: 0.689 MB / 1.128 GB, free: 300 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/1.22, allocations: 0.862 MB / 1.129 GB, free: 108 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002138/1.222, allocations: 0.7165 MB / 1.129 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003563/1.222, allocations: 35.09 kB / 1.129 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/1.225, allocations: 0.5544 MB / 1.13 GB, free: 15.94 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008624/1.226, allocations: 280.1 kB / 1.13 GB, free: 15.9 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007915/1.227, allocations: 232.5 kB / 1.13 GB, free: 15.83 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002632/1.23, allocations: 1.014 MB / 1.131 GB, free: 15.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/1.23, allocations: 0 / 1.131 GB, free: 15.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.186e-06/1.23, allocations: 0 / 1.131 GB, free: 15.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.015e-05/1.23, allocations: 1.062 kB / 1.131 GB, free: 15.73 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.00399/1.234, allocations: 1.313 MB / 1.133 GB, free: 14.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.234, allocations: 12.12 kB / 1.133 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003436/1.234, allocations: 97.06 kB / 1.133 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/1.235, allocations: 182.7 kB / 1.133 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/1.238, allocations: 0.7965 MB / 1.134 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/1.238, allocations: 48.09 kB / 1.134 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/1.238, allocations: 58.97 kB / 1.134 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/1.24, allocations: 0.796 MB / 1.135 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/1.24, allocations: 7.188 kB / 1.135 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/1.241, allocations: 27.91 kB / 1.135 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/1.241, allocations: 13.09 kB / 1.135 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/1.242, allocations: 0.5401 MB / 1.135 GB, free: 14.2 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.00757/1.25, allocations: 4.605 MB / 1.14 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/1.251, allocations: 426.5 kB / 1.14 GB, free: 10.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006926/1.252, allocations: 252 kB / 1.14 GB, free: 10.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004602/1.253, allocations: 190.1 kB / 1.14 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008745/1.253, allocations: 294.4 kB / 1.141 GB, free: 10.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 4.228e-06/1.253, allocations: 1.469 kB / 1.141 GB, free: 10.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.002621/1.256, allocations: 0.6488 MB / 1.141 GB, free: 10.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/1.256, allocations: 87.19 kB / 1.141 GB, free: 10.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002827/1.259, allocations: 1.111 MB / 1.143 GB, free: 9.801 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000187/1.259, allocations: 38.06 kB / 1.143 GB, free: 9.766 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006782/1.26, allocations: 496.7 kB / 1.143 GB, free: 9.547 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/1.26, allocations: 107.1 kB / 1.143 GB, free: 9.473 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/1.26, allocations: 15.91 kB / 1.143 GB, free: 9.469 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001739/1.26, allocations: 325.1 kB / 1.143 GB, free: 9.156 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006792/1.261, allocations: 189.1 kB / 1.144 GB, free: 9.113 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/1.262, allocations: 0.4944 MB / 1.144 GB, free: 8.691 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008586/1.263, allocations: 298.5 kB / 1.144 GB, free: 8.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/1.263, allocations: 1.031 kB / 1.144 GB, free: 8.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002364/1.266, allocations: 0.673 MB / 1.145 GB, free: 8.352 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002938/1.266, allocations: 281.5 kB / 1.145 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/1.266, allocations: 4.688 kB / 1.145 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-05/1.266, allocations: 13.27 kB / 1.145 GB, free: 8.023 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003771/1.27, allocations: 374.3 kB / 1.146 GB, free: 7.902 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005434/1.275, allocations: 6.091 MB / 1.152 GB, free: 1.902 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/1.277, allocations: 105.7 kB / 1.152 GB, free: 1.855 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/1.277, allocations: 34.48 kB / 1.152 GB, free: 1.844 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.277, allocations: 5.688 kB / 1.152 GB, free: 1.844 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001669/1.279, allocations: 0.5371 MB / 1.152 GB, free: 1.691 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/1.279, allocations: 5.375 kB / 1.152 GB, free: 1.691 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.279, allocations: 8.688 kB / 1.152 GB, free: 1.691 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/1.28, allocations: 161 kB / 1.153 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/1.28, allocations: 8.188 kB / 1.153 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/1.282, allocations: 98.31 kB / 1.153 GB, free: 1.605 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.282, allocations: 25.17 kB / 1.153 GB, free: 1.602 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.001109/1.283, allocations: 478.7 kB / 1.153 GB, free: 1.324 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/1.283, allocations: 97.91 kB / 1.153 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/1.285, allocations: 0.5034 MB / 1.154 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/1.285, allocations: 11.34 kB / 1.154 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/1.285, allocations: 1.125 kB / 1.154 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/1.285, allocations: 1.156 kB / 1.154 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004117/1.289, allocations: 1.39 MB / 1.155 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.018e-06/1.289, allocations: 1.125 kB / 1.155 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/1.291, allocations: 155 kB / 1.155 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/1.291, allocations: 7.688 kB / 1.155 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/1.291, allocations: 9.703 kB / 1.155 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004458/1.295, allocations: 6.024 MB / 1.161 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/1.295, allocations: 6 kB / 1.161 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/1.297, allocations: 0.6097 MB / 1.162 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007438/1.298, allocations: 227.5 kB / 1.162 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/1.298, allocations: 7.438 kB / 1.162 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009528/1.299, allocations: 55.86 kB / 1.162 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/1.299, allocations: 32.39 kB / 1.162 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/1.299, allocations: 11.41 kB / 1.162 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001979/1.301, allocations: 0.7853 MB / 1.163 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.41e-07/1.301, allocations: 0 / 1.163 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002338/1.304, allocations: 404.7 kB / 1.163 GB, free: 9.566 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.00256/1.306, allocations: 1.239 MB / 1.164 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005906/1.312, allocations: 1.099 MB / 1.165 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.312, allocations: 0 / 1.165 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/1.314, allocations: 311.1 kB / 1.166 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004383/1.319, allocations: 457.8 kB / 1.166 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/1.34, allocations: 6.31 MB / 1.172 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/1.341, allocations: 1.179 MB / 1.174 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002087/1.343, allocations: 368.9 kB / 1.174 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007766/1.344, allocations: 317.4 kB / 1.174 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of SimCode: time 1.383e-06/1.344, allocations: 0 / 1.174 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09376/1.438, allocations: 26.41 MB / 1.2 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004418/1.438, allocations: 269.2 kB / 1.2 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.047/5.485, allocations: 0 / 1.2 GB, free: 0.6016 MB / 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)