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 2.616/2.616, allocations: 287.5 MB / 302.4 MB, free: 8.227 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.001431/0.001431, allocations: 183.3 kB / 371 MB, free: 10.84 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.177/2.177, 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.0009679/0.0009676, allocations: 81.17 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006699/0.0006701, allocations: 15.12 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2241, allocations: 115.3 MB / 0.9783 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.0576/0.2817, allocations: 41.19 MB / 1.019 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02512/0.3069, allocations: 12.18 MB / 1.03 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.3088, allocations: 31.81 kB / 1.03 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002167/0.311, allocations: 413.3 kB / 1.031 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006653/0.3177, allocations: 1.541 MB / 1.032 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004684/0.3225, allocations: 0.9529 MB / 1.033 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007051/0.3295, allocations: 3.661 MB / 1.037 GB, free: 232 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/0.3316, allocations: 0.7539 MB / 1.038 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003687/0.3354, allocations: 1.065 MB / 1.039 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.3378, allocations: 0.8518 MB / 1.04 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.3382, allocations: 48 kB / 1.04 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004579/0.3428, allocations: 1.119 MB / 1.041 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006806/0.3435, allocations: 203 kB / 1.041 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007744/0.3443, allocations: 273.1 kB / 1.041 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004423/0.3488, allocations: 1.742 MB / 1.043 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3488, allocations: 0 / 1.043 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of FrontEnd: time 6.131e-06/0.3489, allocations: 0 / 1.043 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.172e-05/0.3489, allocations: 3.938 kB / 1.043 GB, free: 10.14 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.005399/0.3543, allocations: 1.46 MB / 1.044 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.3544, allocations: 12.03 kB / 1.044 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007109/0.3551, allocations: 134.5 kB / 1.044 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00443/0.3596, allocations: 1.156 MB / 1.046 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/0.3597, allocations: 54 kB / 1.046 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.3599, allocations: 72 kB / 1.046 GB, free: 7.164 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.3623, allocations: 0.7637 MB / 1.046 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/0.3624, allocations: 0 / 1.046 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.3625, allocations: 32 kB / 1.046 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-05/0.3626, allocations: 16 kB / 1.046 GB, free: 6.328 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.3646, allocations: 0.5712 MB / 1.047 GB, free: 5.758 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.008955/0.3736, allocations: 4.018 MB / 1.051 GB, free: 1.418 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.3754, allocations: 480.1 kB / 1.051 GB, free: 0.9414 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006908/0.3761, allocations: 217.1 kB / 1.052 GB, free: 0.7266 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002019/0.3781, allocations: 1.523 MB / 1.053 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.3783, allocations: 38.52 kB / 1.053 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 3.897e-06/0.3783, allocations: 0 / 1.053 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.002503/0.3808, allocations: 0.675 MB / 1.054 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.3809, allocations: 59.34 kB / 1.054 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/0.3833, allocations: 0.9943 MB / 1.055 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.3835, allocations: 37.7 kB / 1.055 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006014/0.3842, allocations: 480.6 kB / 1.055 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.3844, allocations: 169.6 kB / 1.055 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.3845, allocations: 11.94 kB / 1.055 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3847, allocations: 330 kB / 1.056 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006927/0.3854, allocations: 181 kB / 1.056 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008087/0.3862, allocations: 326.9 kB / 1.056 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000809/0.3871, allocations: 232.7 kB / 1.056 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.3871, allocations: 8 kB / 1.056 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002218/0.3893, allocations: 0.651 MB / 1.057 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.3896, allocations: 195.2 kB / 1.057 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.505e-05/0.3896, allocations: 8 kB / 1.057 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/0.3897, allocations: 8 kB / 1.057 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/0.3906, allocations: 119.9 kB / 1.057 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.336e-05/0.3907, allocations: 11.94 kB / 1.057 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.3921, allocations: 95.19 kB / 1.058 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.3922, allocations: 31.98 kB / 1.058 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3923, allocations: 4 kB / 1.058 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00183/0.3941, allocations: 0.5332 MB / 1.058 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/0.3942, allocations: 4 kB / 1.058 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3942, allocations: 8 kB / 1.058 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/0.3951, allocations: 132.2 kB / 1.058 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/0.3952, allocations: 7.938 kB / 1.058 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.3965, allocations: 95.23 kB / 1.058 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.3966, allocations: 27.98 kB / 1.058 GB, free: 9.285 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.000742/0.3974, allocations: 341 kB / 1.059 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004074/0.3978, allocations: 106.7 kB / 1.059 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/0.4009, allocations: 0.9874 MB / 1.06 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.339e-05/0.401, allocations: 11.98 kB / 1.06 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.401, allocations: 0 / 1.06 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0019/0.4029, allocations: 0.8492 MB / 1.061 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00571/0.4087, allocations: 2.023 MB / 1.063 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.533e-05/0.4088, allocations: 11.94 kB / 1.063 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008461/0.4096, allocations: 104 kB / 1.063 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.672e-05/0.4096, allocations: 4 kB / 1.063 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.239e-05/0.4097, allocations: 19.98 kB / 1.063 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/0.4097, allocations: 4 kB / 1.063 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.4098, allocations: 4 kB / 1.063 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/0.4129, allocations: 1.21 MB / 1.064 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008604/0.4138, allocations: 319.2 kB / 1.064 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.4141, allocations: 12 kB / 1.064 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.4152, allocations: 51.95 kB / 1.064 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.4154, allocations: 44.5 kB / 1.064 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.4155, allocations: 27.98 kB / 1.064 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001805/0.4173, allocations: 0.7109 MB / 1.065 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.91e-07/0.4174, allocations: 3.938 kB / 1.065 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00259/0.42, allocations: 0.6045 MB / 1.066 GB, free: 1.598 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.001522/0.4215, allocations: 0.4958 MB / 1.066 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002801/0.4244, allocations: 0.9312 MB / 1.067 GB, free: 152 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.4244, allocations: 64 / 1.067 GB, free: 152 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.6044/1.029, allocations: 406.3 kB / 1.067 GB, free: 89.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005655/1.035, allocations: 0.5774 MB / 1.068 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005781/1.04, allocations: 2.481 MB / 1.07 GB, free: 88.22 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000841/1.041, allocations: 1.061 MB / 1.071 GB, free: 87.51 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002089/1.043, allocations: 295.5 kB / 1.072 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/1.044, allocations: 104.7 kB / 1.072 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of SimCode: time 1.393e-06/1.044, allocations: 0 / 1.072 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of Templates: time 0.07305/1.117, allocations: 24.75 MB / 1.096 GB, free: 80.11 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)