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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000796/0.000796, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008877/0.0008878, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.621/1.621, allocations: 252 MB / 0.5102 GB, free: 4.816 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009891/0.0009893, allocations: 19.44 kB / 0.6243 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5389/0.5399, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1583/0.6982, allocations: 146.9 MB / 0.8716 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002813/0.7011, allocations: 1.695 MB / 0.8732 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.7014, allocations: 11.88 kB / 0.8732 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.7018, allocations: 111.2 kB / 0.8733 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.7029, allocations: 386.2 kB / 0.8737 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.7039, allocations: 339.8 kB / 0.874 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003317/0.7072, allocations: 2.977 MB / 0.8769 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.7086, allocations: 0.6895 MB / 0.8776 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.7103, allocations: 0.8676 MB / 0.8784 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008605/0.7112, allocations: 0.7079 MB / 0.8791 GB, free: 380 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 7.606e-05/0.7113, allocations: 36 kB / 0.8792 GB, free: 344 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.7125, allocations: 0.5574 MB / 0.8797 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003323/0.7129, allocations: 274.9 kB / 0.88 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.7132, allocations: 233.1 kB / 0.8802 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.7143, allocations: 1.021 MB / 0.8812 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7143, allocations: 4 kB / 0.8812 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7143, allocations: 0 / 0.8812 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.7144, allocations: 4 kB / 0.8812 GB, free: 14.24 MB / 0.7012 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.002141/0.7165, allocations: 1.303 MB / 0.8825 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.7166, allocations: 8.031 kB / 0.8825 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007316/0.7173, allocations: 182.5 kB / 0.8827 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.7186, allocations: 0.7963 MB / 0.8834 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-05/0.7187, allocations: 44.95 kB / 0.8835 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/0.7188, allocations: 60 kB / 0.8835 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.72, allocations: 0.8003 MB / 0.8843 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.72, allocations: 0 / 0.8843 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.72, allocations: 24 kB / 0.8843 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.7201, allocations: 12 kB / 0.8844 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008548/0.7209, allocations: 0.5423 MB / 0.8849 GB, free: 10.28 MB / 0.7012 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.004119/0.7251, allocations: 4.614 MB / 0.8894 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.7258, allocations: 429 kB / 0.8898 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.7262, allocations: 257.4 kB / 0.89 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/0.7265, allocations: 190.2 kB / 0.8902 GB, free: 4.379 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005018/0.727, allocations: 297.6 kB / 0.8905 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.727, allocations: 4 kB / 0.8905 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31): time 0.001367/0.7284, allocations: 0.6395 MB / 0.8911 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.7285, allocations: 89.09 kB / 0.8912 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.7298, allocations: 1.11 MB / 0.8923 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.7299, allocations: 33.7 kB / 0.8923 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000424/0.7303, allocations: 496.1 kB / 0.8928 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.7304, allocations: 106.5 kB / 0.8929 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.7304, allocations: 16 kB / 0.8929 GB, free: 1.535 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7306, allocations: 322 kB / 0.8932 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.7309, allocations: 188.7 kB / 0.8934 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.7315, allocations: 0.494 MB / 0.8939 GB, free: 412 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.7319, allocations: 301.7 kB / 0.8942 GB, free: 104 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7319, allocations: 0 / 0.8942 GB, free: 104 kB / 0.7012 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001069/0.733, allocations: 0.6774 MB / 0.8948 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.7332, allocations: 283 kB / 0.8951 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7333, allocations: 4 kB / 0.8951 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.7333, allocations: 12 kB / 0.8951 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.735, allocations: 383.3 kB / 0.8955 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/0.7385, allocations: 6.095 MB / 0.9014 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/0.7393, allocations: 103.5 kB / 0.9015 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.7394, allocations: 27.98 kB / 0.9016 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.7394, allocations: 4 kB / 0.9016 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008819/0.7403, allocations: 0.536 MB / 0.9021 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7403, allocations: 7.938 kB / 0.9021 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.7403, allocations: 12 kB / 0.9021 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.7408, allocations: 160.4 kB / 0.9023 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.7409, allocations: 11.94 kB / 0.9023 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006534/0.7415, allocations: 95.52 kB / 0.9024 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.7416, allocations: 24.11 kB / 0.9024 GB, free: 7.352 MB / 0.7169 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.0005675/0.7421, allocations: 476.6 kB / 0.9029 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.7423, allocations: 98.73 kB / 0.9029 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009297/0.7432, allocations: 0.4951 MB / 0.9034 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.7432, allocations: 8 kB / 0.9034 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.7432, allocations: 4 kB / 0.9034 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7432, allocations: 3.984 kB / 0.9034 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.7452, allocations: 1.401 MB / 0.9048 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.7452, allocations: 4 kB / 0.9048 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/0.7458, allocations: 144 kB / 0.905 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.7458, allocations: 8 kB / 0.905 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.7459, allocations: 8 kB / 0.905 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3996/1.145, allocations: 6.017 MB / 0.9108 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.145, allocations: 2.719 kB / 0.9109 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/1.147, allocations: 0.6139 MB / 0.9115 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/1.147, allocations: 219.2 kB / 0.9117 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/1.147, allocations: 8.922 kB / 0.9117 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/1.147, allocations: 60.75 kB / 0.9117 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.271e-05/1.148, allocations: 34.42 kB / 0.9118 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/1.148, allocations: 12.41 kB / 0.9118 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001206/1.149, allocations: 0.7848 MB / 0.9125 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/1.149, allocations: 0 / 0.9125 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001224/1.15, allocations: 409.7 kB / 0.9129 GB, free: 179.2 MB / 0.7169 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.0003871/1.15, allocations: 176 kB / 0.9131 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003085/1.154, allocations: 1.106 MB / 0.9142 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.154, allocations: 0.5 kB / 0.9142 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008325/1.154, allocations: 300.9 kB / 0.9145 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/1.157, allocations: 458.9 kB / 0.9149 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/1.161, allocations: 2.004 MB / 0.9169 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.162, allocations: 1.193 MB / 0.918 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001454/1.164, allocations: 367.3 kB / 0.9184 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/1.164, allocations: 62.59 kB / 0.9184 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of SimCode: time 1.072e-06/1.164, allocations: 0.7188 kB / 0.9184 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.0247/1.189, allocations: 16.78 MB / 0.9348 GB, free: 165.9 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) Environment - environmentSimulation: