Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001315/0.001315, allocations: 198 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 69.05 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3371, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1179/0.455, allocations: 114.5 MB / 1.179 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03939/0.4944, allocations: 26.68 MB / 1.205 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006137/0.5006, allocations: 99.44 kB / 1.205 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004196/0.5049, allocations: 0.9323 MB / 1.206 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.5166, allocations: 3.157 MB / 1.209 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006941/0.5235, allocations: 2.101 MB / 1.211 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01143/0.535, allocations: 8.144 MB / 1.219 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003348/0.5384, allocations: 1.591 MB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006163/0.5446, allocations: 2.302 MB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/0.5482, allocations: 1.762 MB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007664/0.549, allocations: 116 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007167/0.5561, allocations: 2.151 MB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.5572, allocations: 449.9 kB / 1.228 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002976/0.5602, allocations: 1.17 MB / 1.229 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008177/0.5684, allocations: 3.996 MB / 1.233 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.5684, allocations: 3.984 kB / 1.233 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5684, allocations: 0 / 1.233 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001156/0.5686, allocations: 4 kB / 1.233 GB, free: 1.301 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.007535/0.5761, allocations: 2.83 MB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5762, allocations: 8.031 kB / 1.235 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009795/0.5772, allocations: 261 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004903/0.5821, allocations: 2.095 MB / 1.238 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.5822, allocations: 106.7 kB / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003646/0.5826, allocations: 132 kB / 1.238 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003515/0.5861, allocations: 1.457 MB / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.236e-05/0.5862, allocations: 3.938 kB / 1.239 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.5863, allocations: 56 kB / 1.239 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.934e-05/0.5864, allocations: 39.98 kB / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.5887, allocations: 1.025 MB / 1.24 GB, free: 9.098 MB / 0.9981 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.01066/0.5994, allocations: 8.12 MB / 1.248 GB, free: 284 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6804/1.28, allocations: 0.825 MB / 1.249 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007918/1.281, allocations: 384.3 kB / 1.25 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/1.282, allocations: 2.803 MB / 1.252 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/1.282, allocations: 42.97 kB / 1.252 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 5.5e-06/1.283, allocations: 0 / 1.252 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.003203/1.286, allocations: 1.131 MB / 1.253 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/1.286, allocations: 63.97 kB / 1.253 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/1.289, allocations: 1.607 MB / 1.255 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.633e-05/1.289, allocations: 41.52 kB / 1.255 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009114/1.29, allocations: 0.9323 MB / 1.256 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/1.29, allocations: 305.7 kB / 1.256 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/1.291, allocations: 235.6 kB / 1.257 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/1.291, allocations: 348.5 kB / 1.257 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006324/1.291, allocations: 330.6 kB / 1.257 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009031/1.292, allocations: 0.705 MB / 1.258 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/1.294, allocations: 1.085 MB / 1.259 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/1.294, allocations: 4.406 kB / 1.259 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002359/1.296, allocations: 1.251 MB / 1.26 GB, free: 173 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/1.296, allocations: 11.53 kB / 1.26 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.831e-05/1.296, allocations: 14.34 kB / 1.26 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-05/1.297, allocations: 17.47 kB / 1.26 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007885/1.297, allocations: 260.6 kB / 1.26 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/1.297, allocations: 25.31 kB / 1.26 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/1.299, allocations: 182.2 kB / 1.261 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.299, allocations: 73.3 kB / 1.261 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001038/1.3, allocations: 0.6187 MB / 1.261 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007092/1.301, allocations: 0.709 MB / 1.262 GB, free: 172 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001275/1.302, allocations: 1.081 MB / 1.263 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.843e-06/1.302, allocations: 2.625 kB / 1.263 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002072/1.304, allocations: 1.239 MB / 1.264 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.304, allocations: 11.09 kB / 1.264 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/1.304, allocations: 24.84 kB / 1.264 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.304, allocations: 17.03 kB / 1.264 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007666/1.305, allocations: 262.3 kB / 1.265 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/1.305, allocations: 23.22 kB / 1.265 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/1.306, allocations: 141.6 kB / 1.265 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/1.306, allocations: 69.8 kB / 1.265 GB, free: 170.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003451/1.307, allocations: 262.1 kB / 1.265 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/1.307, allocations: 189.3 kB / 1.265 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/1.31, allocations: 1.734 MB / 1.267 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.413e-05/1.31, allocations: 21.3 kB / 1.267 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/1.31, allocations: 0.6094 kB / 1.267 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001904/1.312, allocations: 1.146 MB / 1.268 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006273/1.319, allocations: 3.477 MB / 1.271 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.719e-05/1.319, allocations: 13.61 kB / 1.271 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008032/1.319, allocations: 199.5 kB / 1.272 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-05/1.319, allocations: 16.64 kB / 1.272 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.576e-05/1.32, allocations: 40.44 kB / 1.272 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.179e-05/1.32, allocations: 16.44 kB / 1.272 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/1.32, allocations: 14.73 kB / 1.272 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004111/1.324, allocations: 2.225 MB / 1.274 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.325, allocations: 442.2 kB / 1.274 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/1.325, allocations: 30.09 kB / 1.274 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.326, allocations: 106.6 kB / 1.274 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/1.326, allocations: 121.7 kB / 1.275 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.327, allocations: 58.33 kB / 1.275 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001942/1.329, allocations: 1.078 MB / 1.276 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.61e-07/1.329, allocations: 0 / 1.276 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003572/1.332, allocations: 1.124 MB / 1.277 GB, free: 165.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001787/1.334, allocations: 0.7902 MB / 1.278 GB, free: 165 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003432/1.337, allocations: 1.798 MB / 1.279 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.337, allocations: 1.156 kB / 1.279 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/1.339, allocations: 0.8174 MB / 1.28 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004924/1.344, allocations: 0.9191 MB / 1.281 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0066/1.35, allocations: 4.373 MB / 1.285 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.352, allocations: 1.436 MB / 1.287 GB, free: 160 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002699/1.354, allocations: 0.5428 MB / 1.287 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/1.355, allocations: 187.5 kB / 1.287 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.355, allocations: 0 / 1.287 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.06756/1.422, allocations: 41.1 MB / 1.328 GB, free: 130.6 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)