Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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: translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.757/1.757, allocations: 287.5 MB / 302.6 MB, free: 8.168 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.001261/0.00126, allocations: 178.3 kB / 371.2 MB, free: 10.77 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.609/1.609, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0009454/0.0009455, allocations: 88.56 kB / 0.7432 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 15.14 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2577, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.03573/0.2935, allocations: 41.19 MB / 1.019 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0161/0.3096, allocations: 12.19 MB / 1.031 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.3111, allocations: 35.75 kB / 1.031 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.3124, allocations: 409.3 kB / 1.031 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00391/0.3164, allocations: 1.543 MB / 1.033 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.3191, allocations: 0.9587 MB / 1.034 GB, free: 3.77 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004122/0.3232, allocations: 3.659 MB / 1.037 GB, free: 100 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.3246, allocations: 0.8463 MB / 1.038 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/0.3269, allocations: 1.073 MB / 1.039 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.328, allocations: 0.8479 MB / 1.04 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.3282, allocations: 48 kB / 1.04 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002992/0.3312, allocations: 1.123 MB / 1.041 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.3314, allocations: 207 kB / 1.041 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003937/0.3318, allocations: 277.1 kB / 1.042 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.3339, allocations: 1.73 MB / 1.043 GB, free: 9.918 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.334, allocations: 0 / 1.043 GB, free: 9.918 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.004e-06/0.334, allocations: 0 / 1.043 GB, free: 9.918 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.334, allocations: 0 / 1.043 GB, free: 9.918 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002948/0.3369, allocations: 1.463 MB / 1.045 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.337, allocations: 8.031 kB / 1.045 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003916/0.3374, allocations: 131.4 kB / 1.045 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/0.34, allocations: 1.202 MB / 1.046 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.34, allocations: 50 kB / 1.046 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.3401, allocations: 72 kB / 1.046 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.3415, allocations: 0.7598 MB / 1.047 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.3416, allocations: 3.906 kB / 1.047 GB, free: 6.113 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/0.3416, allocations: 28 kB / 1.047 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.3417, allocations: 16 kB / 1.047 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.3428, allocations: 0.5711 MB / 1.047 GB, free: 5.5 MB / 0.6667 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.004931/0.3478, allocations: 4.018 MB / 1.051 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000927/0.3487, allocations: 482 kB / 1.052 GB, free: 0.6836 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/0.3491, allocations: 217.1 kB / 1.052 GB, free: 480 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.3504, allocations: 1.523 MB / 1.054 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.3505, allocations: 38.56 kB / 1.054 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 4.368e-06/0.3505, allocations: 0 / 1.054 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.001298/0.3518, allocations: 0.6824 MB / 1.054 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.3518, allocations: 55.41 kB / 1.054 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.3532, allocations: 0.9982 MB / 1.055 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.3532, allocations: 41.7 kB / 1.055 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/0.3536, allocations: 484.6 kB / 1.056 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.3538, allocations: 161.6 kB / 1.056 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.3538, allocations: 12 kB / 1.056 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.354, allocations: 322 kB / 1.056 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.3543, allocations: 189 kB / 1.056 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004395/0.3548, allocations: 320.5 kB / 1.057 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000829/0.3556, allocations: 0.519 MB / 1.057 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3556, allocations: 0 / 1.057 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001091/0.3567, allocations: 0.6546 MB / 1.058 GB, free: 10 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.3568, allocations: 187.5 kB / 1.058 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.3569, allocations: 4 kB / 1.058 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3569, allocations: 8 kB / 1.058 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/0.3573, allocations: 127.8 kB / 1.058 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.3574, allocations: 7.938 kB / 1.058 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/0.358, allocations: 107.2 kB / 1.058 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.358, allocations: 27.98 kB / 1.058 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.3581, allocations: 8 kB / 1.058 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009336/0.359, allocations: 0.5256 MB / 1.059 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.359, allocations: 8 kB / 1.059 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.359, allocations: 4 kB / 1.059 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.3594, allocations: 127.8 kB / 1.059 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.3595, allocations: 15.81 kB / 1.059 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/0.36, allocations: 95.39 kB / 1.059 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.3601, allocations: 31.98 kB / 1.059 GB, free: 8.684 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003779/0.3605, allocations: 340.9 kB / 1.059 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.3606, allocations: 102.7 kB / 1.06 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.3623, allocations: 0.9837 MB / 1.06 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.3623, allocations: 15.92 kB / 1.06 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3623, allocations: 4 kB / 1.06 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001057/0.3634, allocations: 0.8454 MB / 1.061 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.3663, allocations: 2.023 MB / 1.063 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.3663, allocations: 4 kB / 1.063 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.3667, allocations: 99.83 kB / 1.063 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.3668, allocations: 7.984 kB / 1.063 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.3668, allocations: 16 kB / 1.063 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.3668, allocations: 4 kB / 1.063 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/0.3668, allocations: 4 kB / 1.063 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.3685, allocations: 1.218 MB / 1.065 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/0.3689, allocations: 307.4 kB / 1.065 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.369, allocations: 15.98 kB / 1.065 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005319/0.3696, allocations: 51.81 kB / 1.065 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.3697, allocations: 56.42 kB / 1.065 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.355e-05/0.3697, allocations: 35.98 kB / 1.065 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009749/0.3707, allocations: 0.707 MB / 1.066 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3707, allocations: 0 / 1.066 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001442/0.3722, allocations: 0.593 MB / 1.066 GB, free: 1.012 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008649/0.3731, allocations: 0.4969 MB / 1.067 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.4305/0.8035, allocations: 0.9335 MB / 1.068 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.8036, allocations: 1.281 kB / 1.068 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008456/0.8045, allocations: 408.9 kB / 1.068 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/0.808, allocations: 0.5668 MB / 1.069 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.8119, allocations: 2.484 MB / 1.071 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/0.8127, allocations: 1.061 MB / 1.072 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001537/0.8142, allocations: 296.4 kB / 1.072 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.8145, allocations: 110.5 kB / 1.073 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/0.8145, allocations: 1.062 kB / 1.073 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of Templates: time 0.053/0.8675, allocations: 24.98 MB / 1.097 GB, free: 79.73 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)