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.795/2.795, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.00173/0.001731, allocations: 189 kB / 370.8 MB, free: 10.87 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.279/2.279, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001278/0.001277, allocations: 100.8 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006603/0.0006605, allocations: 16.47 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2494, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.9936/1.243, allocations: 135.7 MB / 1.111 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004778/1.248, allocations: 1.667 MB / 1.112 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006941/1.249, allocations: 12.19 kB / 1.112 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/1.25, allocations: 175.8 kB / 1.113 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003111/1.253, allocations: 498.4 kB / 1.113 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/1.256, allocations: 414.5 kB / 1.113 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003701/1.259, allocations: 1.497 MB / 1.115 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/1.262, allocations: 0.6979 MB / 1.116 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/1.264, allocations: 0.6983 MB / 1.116 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/1.266, allocations: 492 kB / 1.117 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003368/1.266, allocations: 34.09 kB / 1.117 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/1.269, allocations: 417 kB / 1.117 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008792/1.27, allocations: 259.8 kB / 1.117 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000958/1.271, allocations: 230.1 kB / 1.118 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002723/1.274, allocations: 0.9729 MB / 1.119 GB, free: 472 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.274, allocations: 0 / 1.119 GB, free: 472 kB / 0.6823 GB Notification: Performance of FrontEnd: time 3.557e-06/1.274, allocations: 0 / 1.119 GB, free: 472 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.051e-05/1.274, allocations: 0 / 1.119 GB, free: 472 kB / 0.6823 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.004468/1.278, allocations: 1.288 MB / 1.12 GB, free: 15.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/1.278, allocations: 7.25 kB / 1.12 GB, free: 15.67 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004096/1.279, allocations: 98.47 kB / 1.12 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/1.28, allocations: 189.9 kB / 1.12 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/1.283, allocations: 0.8026 MB / 1.121 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.149e-05/1.284, allocations: 43.41 kB / 1.121 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/1.284, allocations: 58.75 kB / 1.121 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/1.286, allocations: 0.7882 MB / 1.122 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/1.286, allocations: 6.25 kB / 1.122 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.363e-05/1.286, allocations: 27.08 kB / 1.122 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/1.286, allocations: 15.72 kB / 1.122 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/1.288, allocations: 0.5423 MB / 1.122 GB, free: 14.94 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.008205/1.297, allocations: 4.596 MB / 1.127 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/1.298, allocations: 440.2 kB / 1.127 GB, free: 11.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.83e-05/1.298, allocations: 14.69 kB / 1.127 GB, free: 11.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008881/1.299, allocations: 296 kB / 1.128 GB, free: 11.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 4.389e-06/1.299, allocations: 0 / 1.128 GB, free: 11.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.00267/1.302, allocations: 0.6459 MB / 1.128 GB, free: 11.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/1.302, allocations: 112 kB / 1.128 GB, free: 11.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/1.305, allocations: 1.109 MB / 1.129 GB, free: 10.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001949/1.305, allocations: 37.95 kB / 1.129 GB, free: 10.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006774/1.306, allocations: 490.2 kB / 1.13 GB, free: 10.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/1.306, allocations: 115.3 kB / 1.13 GB, free: 10.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/1.306, allocations: 10.16 kB / 1.13 GB, free: 10.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.306, allocations: 323.7 kB / 1.13 GB, free: 10.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006855/1.307, allocations: 188.7 kB / 1.131 GB, free: 10.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/1.308, allocations: 0.4933 MB / 1.131 GB, free: 10.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008816/1.309, allocations: 293.9 kB / 1.131 GB, free: 9.965 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/1.309, allocations: 3.312 kB / 1.131 GB, free: 9.965 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002538/1.311, allocations: 0.6796 MB / 1.132 GB, free: 9.809 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001081/1.313, allocations: 2.132 MB / 1.134 GB, free: 7.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/1.313, allocations: 5.469 kB / 1.134 GB, free: 7.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.77e-05/1.313, allocations: 12.22 kB / 1.134 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003831/1.317, allocations: 374.5 kB / 1.134 GB, free: 7.547 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005247/1.322, allocations: 6.09 MB / 1.14 GB, free: 1.672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/1.324, allocations: 112.2 kB / 1.14 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/1.324, allocations: 28.58 kB / 1.141 GB, free: 1.629 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.324, allocations: 5 kB / 1.141 GB, free: 1.629 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001842/1.326, allocations: 0.5398 MB / 1.141 GB, free: 1.543 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/1.326, allocations: 5.469 kB / 1.141 GB, free: 1.543 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/1.326, allocations: 8.938 kB / 1.141 GB, free: 1.543 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.327, allocations: 161.9 kB / 1.141 GB, free: 1.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.93e-05/1.327, allocations: 15.2 kB / 1.141 GB, free: 1.492 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.329, allocations: 93.44 kB / 1.141 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/1.329, allocations: 26.84 kB / 1.141 GB, free: 1.449 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.001303/1.331, allocations: 470.4 kB / 1.142 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004475/1.331, allocations: 101.8 kB / 1.142 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/1.333, allocations: 488.4 kB / 1.142 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/1.333, allocations: 8.172 kB / 1.142 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.333, allocations: 1.312 kB / 1.142 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.333, allocations: 0 / 1.142 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/1.336, allocations: 1.101 MB / 1.143 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.336, allocations: 2.531 kB / 1.143 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/1.338, allocations: 155.5 kB / 1.144 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/1.338, allocations: 2.344 kB / 1.144 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.239e-05/1.338, allocations: 8.219 kB / 1.144 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004399/1.342, allocations: 6.031 MB / 1.149 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/1.342, allocations: 6.188 kB / 1.149 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/1.344, allocations: 0.6252 MB / 1.15 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008795/1.345, allocations: 222.5 kB / 1.15 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000299/1.346, allocations: 10.16 kB / 1.15 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/1.347, allocations: 54.89 kB / 1.15 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/1.347, allocations: 40.69 kB / 1.15 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/1.347, allocations: 15.78 kB / 1.15 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002216/1.349, allocations: 0.7829 MB / 1.151 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.042e-06/1.35, allocations: 3.938 kB / 1.151 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002614/1.352, allocations: 405.8 kB / 1.152 GB, free: 9.426 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.003175/1.355, allocations: 1.721 MB / 1.153 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006457/1.362, allocations: 1.098 MB / 1.154 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/1.362, allocations: 0.875 kB / 1.154 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/1.364, allocations: 300.8 kB / 1.155 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004304/1.368, allocations: 458.8 kB / 1.155 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/1.393, allocations: 9.612 MB / 1.164 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/1.394, allocations: 1.197 MB / 1.166 GB, free: 164 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002313/1.397, allocations: 376.1 kB / 1.166 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008995/1.398, allocations: 313.3 kB / 1.166 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of SimCode: time 1.673e-06/1.398, allocations: 4 kB / 1.166 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09284/1.491, allocations: 26.36 MB / 1.192 GB, free: 220 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005127/1.491, allocations: 261 kB / 1.192 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.858/5.35, allocations: 0 / 1.192 GB, free: 15.86 MB / 0.7448 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)