Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.077/2.077, allocations: 288.4 MB / 303.7 MB, free: 8.164 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.001204/0.001203, allocations: 173.7 kB / 372.3 MB, free: 10.12 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.752/1.752, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0008321/0.0008321, allocations: 86.36 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004242, allocations: 15.5 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2663, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.03266/0.299, allocations: 41.21 MB / 1.02 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.3172, allocations: 12.15 MB / 1.032 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002126/0.3193, allocations: 39.75 kB / 1.032 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.3211, allocations: 405.3 kB / 1.033 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006078/0.3272, allocations: 1.642 MB / 1.034 GB, free: 3.77 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004266/0.3315, allocations: 0.975 MB / 1.035 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005394/0.3369, allocations: 3.673 MB / 1.039 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.3384, allocations: 0.8385 MB / 1.04 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002874/0.3413, allocations: 1.128 MB / 1.041 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.3428, allocations: 0.8439 MB / 1.042 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.3429, allocations: 48 kB / 1.042 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003597/0.3465, allocations: 1.356 MB / 1.043 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.3469, allocations: 211 kB / 1.043 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008778/0.3477, allocations: 0.5966 MB / 1.044 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.3506, allocations: 1.82 MB / 1.045 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3506, allocations: 0 / 1.045 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3506, allocations: 0 / 1.045 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.3506, allocations: 0 / 1.045 GB, free: 8.234 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.002852/0.3535, allocations: 1.453 MB / 1.047 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3535, allocations: 8.031 kB / 1.047 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/0.3538, allocations: 135.4 kB / 1.047 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002414/0.3562, allocations: 1.198 MB / 1.048 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.3563, allocations: 50 kB / 1.048 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.3564, allocations: 68 kB / 1.048 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.3578, allocations: 0.7676 MB / 1.049 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.3578, allocations: 3.906 kB / 1.049 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/0.3579, allocations: 28 kB / 1.049 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.3579, allocations: 16 kB / 1.049 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.359, allocations: 0.575 MB / 1.05 GB, free: 3.816 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.005181/0.3642, allocations: 4.014 MB / 1.054 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009574/0.3652, allocations: 476.7 kB / 1.054 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/0.3655, allocations: 217.1 kB / 1.054 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.3669, allocations: 1.519 MB / 1.056 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.367, allocations: 38.56 kB / 1.056 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 2.886e-06/0.367, allocations: 0 / 1.056 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.001418/0.3684, allocations: 0.6863 MB / 1.056 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.3684, allocations: 55.41 kB / 1.056 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.3699, allocations: 0.9982 MB / 1.057 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.3699, allocations: 37.7 kB / 1.058 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/0.3704, allocations: 484.6 kB / 1.058 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.3705, allocations: 161.6 kB / 1.058 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.3706, allocations: 8 kB / 1.058 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3707, allocations: 334 kB / 1.058 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.3711, allocations: 177 kB / 1.059 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/0.3715, allocations: 332.5 kB / 1.059 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008218/0.3724, allocations: 0.5113 MB / 1.059 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3724, allocations: 0 / 1.059 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001185/0.3736, allocations: 0.6508 MB / 1.06 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.3737, allocations: 199.4 kB / 1.06 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.3738, allocations: 4.062 kB / 1.06 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.3738, allocations: 12 kB / 1.06 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/0.3743, allocations: 123.8 kB / 1.06 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.3743, allocations: 11.92 kB / 1.06 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007378/0.375, allocations: 103.1 kB / 1.061 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.458e-05/0.3751, allocations: 31.98 kB / 1.061 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.3751, allocations: 5.562 kB / 1.061 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009839/0.3761, allocations: 0.5335 MB / 1.061 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.3762, allocations: 7.984 kB / 1.061 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.3762, allocations: 8 kB / 1.061 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.3766, allocations: 127.8 kB / 1.061 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3766, allocations: 11.88 kB / 1.061 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006896/0.3773, allocations: 91.34 kB / 1.061 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.3774, allocations: 27.98 kB / 1.061 GB, free: 7 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.0006001/0.378, allocations: 344.9 kB / 1.062 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.3782, allocations: 106.7 kB / 1.062 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.38, allocations: 0.972 MB / 1.063 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/0.3801, allocations: 15.92 kB / 1.063 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3801, allocations: 0 / 1.063 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/0.3813, allocations: 0.8531 MB / 1.064 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/0.3844, allocations: 2.02 MB / 1.066 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.3844, allocations: 4 kB / 1.066 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.3849, allocations: 103.9 kB / 1.066 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.3849, allocations: 4 kB / 1.066 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.3849, allocations: 19.98 kB / 1.066 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.944e-06/0.3849, allocations: 7.938 kB / 1.066 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.385, allocations: 4 kB / 1.066 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.3867, allocations: 1.214 MB / 1.067 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004794/0.3872, allocations: 315.3 kB / 1.067 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.3873, allocations: 12 kB / 1.067 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005729/0.3879, allocations: 59.3 kB / 1.067 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.388, allocations: 56.42 kB / 1.067 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/0.3881, allocations: 27.98 kB / 1.067 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.5506/0.9388, allocations: 0.7092 MB / 1.068 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.62e-07/0.9388, allocations: 0 / 1.068 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002628/0.9415, allocations: 0.6003 MB / 1.069 GB, free: 88.9 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.001227/0.9427, allocations: 0.5069 MB / 1.069 GB, free: 88.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001977/0.9447, allocations: 0.9387 MB / 1.07 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.9447, allocations: 1.531 kB / 1.07 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006319/0.9453, allocations: 410.8 kB / 1.07 GB, free: 88.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/0.9484, allocations: 0.5666 MB / 1.071 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.9522, allocations: 2.489 MB / 1.073 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007273/0.9529, allocations: 1.055 MB / 1.074 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001306/0.9543, allocations: 289.3 kB / 1.075 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.9546, allocations: 114 kB / 1.075 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/0.9546, allocations: 0.6562 kB / 1.075 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of Templates: time 0.05391/1.008, allocations: 25.32 MB / 1.099 GB, free: 78.05 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)