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.001112/0.001112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001464/0.001464, allocations: 189.7 kB / 16.25 MB, free: 6.625 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.373/1.373, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 472.6 MB / 0.7448 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 66.52 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3677, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1178/0.4856, allocations: 114.2 MB / 1.179 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03998/0.5257, allocations: 26.38 MB / 1.205 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007179/0.5329, allocations: 103.4 kB / 1.205 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004401/0.5373, allocations: 0.9792 MB / 1.206 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.5478, allocations: 3.184 MB / 1.209 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007871/0.5557, allocations: 2.148 MB / 1.211 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009797/0.5655, allocations: 6.218 MB / 1.217 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003661/0.5691, allocations: 1.89 MB / 1.219 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006887/0.5761, allocations: 2.66 MB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0033/0.5794, allocations: 1.816 MB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000807/0.5802, allocations: 220 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007303/0.5875, allocations: 2.378 MB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.5889, allocations: 0.5409 MB / 1.227 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00345/0.5924, allocations: 1.287 MB / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.009323/0.6017, allocations: 4.078 MB / 1.232 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.6018, allocations: 0 / 1.232 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6018, allocations: 0 / 1.232 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001307/0.6019, allocations: 0 / 1.232 GB, free: 2.195 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.007792/0.6097, allocations: 2.83 MB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.6098, allocations: 11.97 kB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.6109, allocations: 253.1 kB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00525/0.6162, allocations: 2.106 MB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.6163, allocations: 102.7 kB / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003868/0.6167, allocations: 136 kB / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003516/0.6202, allocations: 1.457 MB / 1.239 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.212e-05/0.6203, allocations: 7.938 kB / 1.239 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.6205, allocations: 60 kB / 1.239 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.6206, allocations: 36 kB / 1.239 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.6229, allocations: 1.021 MB / 1.24 GB, free: 9.988 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.01231/0.6352, allocations: 8.128 MB / 1.248 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.6371, allocations: 0.8329 MB / 1.248 GB, free: 308 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5756/1.213, allocations: 373.4 kB / 1.249 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/1.215, allocations: 2.805 MB / 1.251 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/1.215, allocations: 47.61 kB / 1.252 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 3.326e-06/1.215, allocations: 1.125 kB / 1.252 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.003488/1.218, allocations: 1.121 MB / 1.253 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/1.218, allocations: 64.53 kB / 1.253 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/1.221, allocations: 1.602 MB / 1.254 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/1.221, allocations: 45.73 kB / 1.254 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008853/1.222, allocations: 0.9273 MB / 1.255 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/1.223, allocations: 312.7 kB / 1.255 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004403/1.223, allocations: 228.1 kB / 1.256 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/1.223, allocations: 350.1 kB / 1.256 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006426/1.224, allocations: 333.4 kB / 1.256 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008786/1.225, allocations: 0.7036 MB / 1.257 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/1.226, allocations: 1.091 MB / 1.258 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/1.226, allocations: 3.062 kB / 1.258 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002408/1.229, allocations: 1.255 MB / 1.259 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.229, allocations: 10.5 kB / 1.259 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.32e-05/1.229, allocations: 13.91 kB / 1.259 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/1.229, allocations: 22.14 kB / 1.259 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/1.23, allocations: 257.2 kB / 1.26 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/1.23, allocations: 31.73 kB / 1.26 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/1.231, allocations: 177.5 kB / 1.26 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/1.231, allocations: 62.62 kB / 1.26 GB, free: 173 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00106/1.232, allocations: 0.6304 MB / 1.26 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006874/1.233, allocations: 0.7044 MB / 1.261 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001237/1.234, allocations: 1.078 MB / 1.262 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.254e-06/1.234, allocations: 6.469 kB / 1.262 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002067/1.236, allocations: 1.241 MB / 1.263 GB, free: 171 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.236, allocations: 11.62 kB / 1.263 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/1.236, allocations: 20.08 kB / 1.263 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/1.236, allocations: 16.5 kB / 1.264 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00076/1.237, allocations: 262.2 kB / 1.264 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/1.237, allocations: 22.78 kB / 1.264 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.238, allocations: 150.2 kB / 1.264 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.239, allocations: 64.5 kB / 1.264 GB, free: 170.9 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.0002936/1.239, allocations: 265.2 kB / 1.264 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/1.239, allocations: 186.1 kB / 1.264 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/1.242, allocations: 1.738 MB / 1.266 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-05/1.242, allocations: 21.06 kB / 1.266 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.242, allocations: 0.75 kB / 1.266 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001673/1.244, allocations: 1.144 MB / 1.267 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006222/1.25, allocations: 3.481 MB / 1.271 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.198e-05/1.25, allocations: 11.14 kB / 1.271 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007675/1.251, allocations: 200.8 kB / 1.271 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/1.251, allocations: 10.97 kB / 1.271 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-05/1.251, allocations: 46.44 kB / 1.271 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.751e-05/1.251, allocations: 19.59 kB / 1.271 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/1.251, allocations: 8.438 kB / 1.271 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003816/1.255, allocations: 2.227 MB / 1.273 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008061/1.256, allocations: 437.2 kB / 1.274 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002595/1.256, allocations: 33.34 kB / 1.274 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.257, allocations: 97.95 kB / 1.274 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/1.257, allocations: 116.2 kB / 1.274 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.258, allocations: 64.7 kB / 1.274 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001655/1.259, allocations: 1.077 MB / 1.275 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.92e-07/1.259, allocations: 0 / 1.275 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003052/1.262, allocations: 1.133 MB / 1.276 GB, free: 165.5 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.001469/1.264, allocations: 0.787 MB / 1.277 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003822/1.268, allocations: 1.902 MB / 1.279 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.268, allocations: 1.25 kB / 1.279 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/1.269, allocations: 0.8237 MB / 1.279 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004443/1.273, allocations: 0.9701 MB / 1.28 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0055/1.279, allocations: 4.37 MB / 1.285 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000981/1.28, allocations: 1.439 MB / 1.286 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002397/1.282, allocations: 0.5374 MB / 1.287 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/1.283, allocations: 189 kB / 1.287 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/1.283, allocations: 0 / 1.287 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.06324/1.346, allocations: 42.5 MB / 1.328 GB, free: 130 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)