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 1.797/1.797, allocations: 288.4 MB / 303.4 MB, free: 8.121 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.001132/0.001132, allocations: 176.5 kB / 372 MB, free: 10.26 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.775/1.775, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.0008216/0.0008218, allocations: 82.92 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003987, allocations: 11.56 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2511, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.03264/0.2838, allocations: 41.19 MB / 1.02 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.3004, allocations: 12.15 MB / 1.032 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.3026, allocations: 39.75 kB / 1.032 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.3047, allocations: 409.3 kB / 1.032 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005817/0.3105, allocations: 1.547 MB / 1.034 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003631/0.3142, allocations: 0.9435 MB / 1.035 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005446/0.3196, allocations: 3.662 MB / 1.038 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.3212, allocations: 0.7501 MB / 1.039 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002699/0.3239, allocations: 1.065 MB / 1.04 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.3257, allocations: 0.8478 MB / 1.041 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.3259, allocations: 48 kB / 1.041 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003152/0.3291, allocations: 1.119 MB / 1.042 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002701/0.3293, allocations: 218.9 kB / 1.042 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005582/0.3299, allocations: 273.1 kB / 1.042 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00279/0.3327, allocations: 1.746 MB / 1.044 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3327, allocations: 0 / 1.044 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3327, allocations: 0 / 1.044 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.201e-05/0.3328, allocations: 0 / 1.044 GB, free: 9.484 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.003184/0.336, allocations: 1.452 MB / 1.045 GB, free: 7.977 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.336, allocations: 16.03 kB / 1.045 GB, free: 7.961 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003142/0.3363, allocations: 134.5 kB / 1.046 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/0.3388, allocations: 1.156 MB / 1.047 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.892e-05/0.3389, allocations: 54 kB / 1.047 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.339, allocations: 72 kB / 1.047 GB, free: 6.508 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.3404, allocations: 0.7598 MB / 1.048 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.3404, allocations: 0 / 1.048 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.939e-05/0.3405, allocations: 32 kB / 1.048 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/0.3406, allocations: 20 kB / 1.048 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.3416, allocations: 0.5634 MB / 1.048 GB, free: 5.109 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.005211/0.3468, allocations: 4.022 MB / 1.052 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009861/0.3479, allocations: 474.9 kB / 1.053 GB, free: 300 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003998/0.3483, allocations: 222.4 kB / 1.053 GB, free: 76 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001676/0.35, allocations: 1.527 MB / 1.054 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.35, allocations: 34.56 kB / 1.054 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 3.327e-06/0.35, allocations: 0 / 1.054 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.001647/0.3517, allocations: 0.6827 MB / 1.055 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3517, allocations: 55.41 kB / 1.055 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.3534, allocations: 0.9943 MB / 1.056 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.575e-05/0.3535, allocations: 37.7 kB / 1.056 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000491/0.354, allocations: 476.6 kB / 1.056 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.3542, allocations: 169.6 kB / 1.057 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.3543, allocations: 16 kB / 1.057 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3544, allocations: 326 kB / 1.057 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.3548, allocations: 181 kB / 1.057 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/0.3553, allocations: 324.5 kB / 1.057 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.3559, allocations: 232.7 kB / 1.058 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.3559, allocations: 4 kB / 1.058 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001344/0.3573, allocations: 0.6549 MB / 1.058 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.3574, allocations: 195.2 kB / 1.058 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.3575, allocations: 7.984 kB / 1.059 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.3575, allocations: 8 kB / 1.059 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.358, allocations: 119.8 kB / 1.059 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.358, allocations: 15.98 kB / 1.059 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009067/0.3589, allocations: 99.19 kB / 1.059 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.233e-05/0.359, allocations: 31.98 kB / 1.059 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3591, allocations: 5.562 kB / 1.059 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001051/0.3601, allocations: 0.5254 MB / 1.059 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.3602, allocations: 8.422 kB / 1.059 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3602, allocations: 8 kB / 1.059 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.3606, allocations: 131.8 kB / 1.059 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.3607, allocations: 11.92 kB / 1.059 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000847/0.3615, allocations: 87.34 kB / 1.06 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.3616, allocations: 35.88 kB / 1.06 GB, free: 8.621 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.0006596/0.3623, allocations: 342.7 kB / 1.06 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.3625, allocations: 106.7 kB / 1.06 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.3648, allocations: 0.9758 MB / 1.061 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.599e-05/0.3649, allocations: 11.98 kB / 1.061 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3649, allocations: 0 / 1.061 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001377/0.3663, allocations: 0.8493 MB / 1.062 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/0.3701, allocations: 2.027 MB / 1.064 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.3701, allocations: 4 kB / 1.064 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.3706, allocations: 108 kB / 1.064 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/0.3706, allocations: 7.953 kB / 1.064 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/0.3707, allocations: 23.98 kB / 1.064 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.3707, allocations: 4 kB / 1.064 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.3707, allocations: 4 kB / 1.064 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.3727, allocations: 1.21 MB / 1.065 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006316/0.3733, allocations: 311.3 kB / 1.065 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.3736, allocations: 15.95 kB / 1.065 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007839/0.3743, allocations: 43.97 kB / 1.065 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.3745, allocations: 60.41 kB / 1.065 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.845e-05/0.3746, allocations: 27.98 kB / 1.066 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001303/0.3759, allocations: 0.7109 MB / 1.066 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3759, allocations: 4 kB / 1.066 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002075/0.378, allocations: 0.6045 MB / 1.067 GB, free: 0.9336 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.001372/0.3793, allocations: 497.4 kB / 1.067 GB, free: 456 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.4662/0.8456, allocations: 0.9342 MB / 1.068 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.8456, allocations: 1.531 kB / 1.068 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009013/0.8465, allocations: 409.6 kB / 1.069 GB, free: 89.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/0.8498, allocations: 0.5748 MB / 1.069 GB, free: 89.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/0.8535, allocations: 2.476 MB / 1.072 GB, free: 88.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/0.8542, allocations: 1.065 MB / 1.073 GB, free: 87.37 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001285/0.8555, allocations: 296.9 kB / 1.073 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.8557, allocations: 100.9 kB / 1.073 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of SimCode: time 9.01e-07/0.8557, allocations: 0.8125 kB / 1.073 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.04986/0.9056, allocations: 24.74 MB / 1.097 GB, free: 79.26 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)