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.001524/0.001524, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 196.8 kB / 16.53 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.459/1.459, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 69.69 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3283, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1133/0.4416, allocations: 115.2 MB / 1.181 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03993/0.4816, allocations: 26.56 MB / 1.207 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006454/0.4881, allocations: 115.4 kB / 1.207 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00437/0.4925, allocations: 1.145 MB / 1.208 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.503, allocations: 3.42 MB / 1.211 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007206/0.5102, allocations: 2.345 MB / 1.213 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008967/0.5192, allocations: 6.177 MB / 1.219 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003619/0.5228, allocations: 1.929 MB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006948/0.5298, allocations: 2.642 MB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003733/0.5335, allocations: 1.766 MB / 1.226 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008249/0.5344, allocations: 224 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006502/0.5409, allocations: 2.34 MB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009726/0.5419, allocations: 0.537 MB / 1.229 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003444/0.5453, allocations: 1.283 MB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008238/0.5536, allocations: 4.063 MB / 1.234 GB, free: 172 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.5536, allocations: 4 kB / 1.234 GB, free: 168 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5536, allocations: 0 / 1.234 GB, free: 168 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.81e-05/0.5537, allocations: 0 / 1.234 GB, free: 168 kB / 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.005512/0.5592, allocations: 2.83 MB / 1.237 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5593, allocations: 12.02 kB / 1.237 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006646/0.5599, allocations: 253.1 kB / 1.237 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004038/0.564, allocations: 2.068 MB / 1.239 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-05/0.5641, allocations: 98.67 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.5643, allocations: 136 kB / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.5668, allocations: 1.458 MB / 1.241 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.5668, allocations: 7.844 kB / 1.241 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.567, allocations: 59.98 kB / 1.241 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/0.567, allocations: 36 kB / 1.241 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.5688, allocations: 1.025 MB / 1.242 GB, free: 7.992 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.5887/1.158, allocations: 8.176 MB / 1.25 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/1.159, allocations: 0.8285 MB / 1.25 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006289/1.16, allocations: 376.1 kB / 1.251 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001526/1.161, allocations: 2.807 MB / 1.254 GB, free: 174 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/1.162, allocations: 43.75 kB / 1.254 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 2.916e-06/1.162, allocations: 0 / 1.254 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.002693/1.164, allocations: 1.131 MB / 1.255 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/1.164, allocations: 62.38 kB / 1.255 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/1.167, allocations: 1.622 MB / 1.256 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.362e-05/1.167, allocations: 44.45 kB / 1.256 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006404/1.167, allocations: 0.9306 MB / 1.257 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/1.168, allocations: 307.4 kB / 1.258 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/1.168, allocations: 235.8 kB / 1.258 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.59e-05/1.168, allocations: 346.4 kB / 1.258 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/1.169, allocations: 330.9 kB / 1.258 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00075/1.17, allocations: 0.7098 MB / 1.259 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/1.171, allocations: 1.082 MB / 1.26 GB, free: 172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.171, allocations: 2.625 kB / 1.26 GB, free: 172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002184/1.173, allocations: 1.256 MB / 1.261 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/1.173, allocations: 11.31 kB / 1.261 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/1.173, allocations: 18.41 kB / 1.262 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.988e-05/1.173, allocations: 18.12 kB / 1.262 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007639/1.174, allocations: 259.5 kB / 1.262 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/1.174, allocations: 27.89 kB / 1.262 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/1.175, allocations: 132.5 kB / 1.262 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/1.175, allocations: 69.56 kB / 1.262 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001077/1.176, allocations: 0.6199 MB / 1.263 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007418/1.177, allocations: 0.699 MB / 1.263 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001295/1.178, allocations: 1.082 MB / 1.264 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.392e-06/1.178, allocations: 5.375 kB / 1.264 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002338/1.181, allocations: 1.241 MB / 1.266 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/1.181, allocations: 16.89 kB / 1.266 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.248e-05/1.181, allocations: 14.12 kB / 1.266 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/1.181, allocations: 18.67 kB / 1.266 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008375/1.182, allocations: 257.6 kB / 1.266 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.616e-05/1.182, allocations: 31.64 kB / 1.266 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/1.183, allocations: 102.5 kB / 1.266 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/1.183, allocations: 64.14 kB / 1.266 GB, free: 169.1 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.0004004/1.183, allocations: 256.4 kB / 1.266 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/1.184, allocations: 189.8 kB / 1.266 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003417/1.187, allocations: 1.743 MB / 1.268 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-05/1.187, allocations: 21.11 kB / 1.268 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.187, allocations: 1.875 kB / 1.268 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002404/1.19, allocations: 1.141 MB / 1.269 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007769/1.197, allocations: 3.49 MB / 1.273 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.407e-05/1.198, allocations: 12.48 kB / 1.273 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/1.199, allocations: 203.4 kB / 1.273 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.163e-05/1.199, allocations: 16.75 kB / 1.273 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/1.199, allocations: 40.8 kB / 1.273 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.002e-05/1.199, allocations: 17.05 kB / 1.273 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-05/1.199, allocations: 13.56 kB / 1.273 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004509/1.203, allocations: 2.224 MB / 1.275 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.204, allocations: 444.1 kB / 1.276 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/1.205, allocations: 31.03 kB / 1.276 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008615/1.206, allocations: 41.66 kB / 1.276 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/1.206, allocations: 120.8 kB / 1.276 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.206, allocations: 57.78 kB / 1.276 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001808/1.208, allocations: 1.094 MB / 1.277 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/1.208, allocations: 0 / 1.277 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003561/1.211, allocations: 1.132 MB / 1.278 GB, free: 163.7 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.002579/1.214, allocations: 0.803 MB / 1.279 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004572/1.219, allocations: 1.897 MB / 1.281 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/1.219, allocations: 1.219 kB / 1.281 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/1.22, allocations: 0.8239 MB / 1.281 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004925/1.225, allocations: 0.9669 MB / 1.282 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005812/1.231, allocations: 3.626 MB / 1.286 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/1.232, allocations: 1.438 MB / 1.287 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002606/1.235, allocations: 0.539 MB / 1.288 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004539/1.235, allocations: 185.6 kB / 1.288 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.52e-07/1.235, allocations: 0 / 1.288 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.06592/1.301, allocations: 43.07 MB / 1.33 GB, free: 127.7 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)