Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008506/0.0008506, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001084/0.001084, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.4 MB / 222.1 MB, free: 5.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006323/0.0006324, allocations: 14.06 kB / 0.6737 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2636, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.04115/0.3048, allocations: 41.19 MB / 0.8275 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01583/0.3207, allocations: 12.16 MB / 0.8394 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.3224, allocations: 31.81 kB / 0.8394 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.3238, allocations: 417.3 kB / 0.8398 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004477/0.3283, allocations: 1.543 MB / 0.8413 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002998/0.3313, allocations: 0.9464 MB / 0.8422 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004914/0.3362, allocations: 3.657 MB / 0.8458 GB, free: 15.86 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/0.338, allocations: 0.7578 MB / 0.8465 GB, free: 15.09 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002971/0.341, allocations: 1.065 MB / 0.8476 GB, free: 14.02 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/0.3428, allocations: 0.8517 MB / 0.8484 GB, free: 13.17 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003703/0.3432, allocations: 52 kB / 0.8485 GB, free: 13.12 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003603/0.3468, allocations: 1.119 MB / 0.8496 GB, free: 12 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004742/0.3473, allocations: 211 kB / 0.8498 GB, free: 11.79 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007725/0.3481, allocations: 273.1 kB / 0.85 GB, free: 11.52 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.3511, allocations: 1.73 MB / 0.8517 GB, free: 9.781 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3511, allocations: 4 kB / 0.8517 GB, free: 9.777 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.255e-06/0.3511, allocations: 0 / 0.8517 GB, free: 9.777 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.3511, allocations: 4 kB / 0.8517 GB, free: 9.773 MB / 0.67 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.002999/0.3542, allocations: 1.456 MB / 0.8531 GB, free: 8.262 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3542, allocations: 8.031 kB / 0.8531 GB, free: 8.254 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003052/0.3545, allocations: 130.5 kB / 0.8533 GB, free: 8.125 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.3568, allocations: 1.171 MB / 0.8544 GB, free: 6.91 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.3568, allocations: 50 kB / 0.8545 GB, free: 6.863 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.3569, allocations: 75.98 kB / 0.8545 GB, free: 6.789 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3583, allocations: 0.756 MB / 0.8553 GB, free: 6.008 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.3583, allocations: 4 kB / 0.8553 GB, free: 6.004 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/0.3584, allocations: 24 kB / 0.8553 GB, free: 5.98 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.3584, allocations: 16 kB / 0.8553 GB, free: 5.965 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009989/0.3594, allocations: 0.5789 MB / 0.8559 GB, free: 5.383 MB / 0.67 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.004947/0.3643, allocations: 4.01 MB / 0.8598 GB, free: 1.051 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000971/0.3653, allocations: 469.9 kB / 0.8602 GB, free: 0.5859 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.3657, allocations: 224.9 kB / 0.8605 GB, free: 372 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/0.3673, allocations: 1.523 MB / 0.8619 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/0.3674, allocations: 38.92 kB / 0.862 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 6.442e-06/0.3674, allocations: 4 kB / 0.862 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.001503/0.3689, allocations: 0.6745 MB / 0.8626 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.369, allocations: 59.41 kB / 0.8627 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.3706, allocations: 0.9982 MB / 0.8637 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/0.3706, allocations: 37.7 kB / 0.8637 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004203/0.3711, allocations: 480.6 kB / 0.8642 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.3713, allocations: 161.6 kB / 0.8643 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.3713, allocations: 12 kB / 0.8643 GB, free: 12 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3714, allocations: 330 kB / 0.8646 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.3718, allocations: 185 kB / 0.8648 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.3723, allocations: 324.5 kB / 0.8651 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/0.3727, allocations: 236.7 kB / 0.8654 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3727, allocations: 0 / 0.8654 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001309/0.3741, allocations: 0.6585 MB / 0.866 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.3742, allocations: 191.5 kB / 0.8662 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.3743, allocations: 8 kB / 0.8662 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.3743, allocations: 4 kB / 0.8662 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.3748, allocations: 135.8 kB / 0.8663 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.3748, allocations: 11.94 kB / 0.8663 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007811/0.3756, allocations: 99.25 kB / 0.8664 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-05/0.3757, allocations: 31.92 kB / 0.8665 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.3757, allocations: 4 kB / 0.8665 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009791/0.3767, allocations: 0.5294 MB / 0.867 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.3767, allocations: 8 kB / 0.867 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-06/0.3767, allocations: 4 kB / 0.867 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.3772, allocations: 127.8 kB / 0.8671 GB, free: 9.043 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3772, allocations: 8 kB / 0.8671 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006679/0.3779, allocations: 95.53 kB / 0.8672 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.3779, allocations: 31.94 kB / 0.8672 GB, free: 8.91 MB / 0.6856 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.0004696/0.3784, allocations: 347.8 kB / 0.8676 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.3786, allocations: 106.7 kB / 0.8677 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.3804, allocations: 0.9718 MB / 0.8686 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.3804, allocations: 11.98 kB / 0.8686 GB, free: 7.457 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3804, allocations: 0 / 0.8686 GB, free: 7.457 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001055/0.3815, allocations: 0.8531 MB / 0.8695 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00312/0.3846, allocations: 2.019 MB / 0.8714 GB, free: 4.422 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.3847, allocations: 7.984 kB / 0.8715 GB, free: 4.414 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.3851, allocations: 95.89 kB / 0.8715 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.3851, allocations: 11.95 kB / 0.8716 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.3851, allocations: 19.98 kB / 0.8716 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.53e-05/0.3852, allocations: 16.16 kB / 0.8716 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3852, allocations: 0 / 0.8716 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.3869, allocations: 1.202 MB / 0.8728 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004773/0.3874, allocations: 315.3 kB / 0.8731 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.3876, allocations: 23.95 kB / 0.8731 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/0.3882, allocations: 43.95 kB / 0.8731 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3883, allocations: 52.5 kB / 0.8732 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/0.3884, allocations: 27.98 kB / 0.8732 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001056/0.3894, allocations: 0.707 MB / 0.8739 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3895, allocations: 0 / 0.8739 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001754/0.3912, allocations: 0.6084 MB / 0.8745 GB, free: 1.238 MB / 0.6856 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.001103/0.3923, allocations: 0.5086 MB / 0.875 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.394, allocations: 0.9301 MB / 0.8759 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.3941, allocations: 5.312 kB / 0.8759 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005997/0.3947, allocations: 414.8 kB / 0.8763 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.3973, allocations: 0.5765 MB / 0.8769 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.4008, allocations: 2.469 MB / 0.8793 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/0.4015, allocations: 1.066 MB / 0.8803 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001081/0.4025, allocations: 292.8 kB / 0.8806 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.4028, allocations: 99.39 kB / 0.8807 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of SimCode: time 1.323e-06/0.4028, allocations: 0 / 0.8807 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of Templates: time 0.04117/0.444, allocations: 24.76 MB / 0.9049 GB, free: 2.348 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) Environment - environmentSimulation: