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.001318/0.001319, 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.001625/0.001625, allocations: 194.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.825/1.825, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.00187/0.001871, allocations: 67 kB / 0.6715 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.326, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.04765/0.3737, allocations: 44.68 MB / 0.827 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02069/0.3944, allocations: 13.01 MB / 0.8397 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.3972, allocations: 43.75 kB / 0.8397 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002389/0.3997, allocations: 0.6016 MB / 0.8403 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00731/0.4071, allocations: 1.971 MB / 0.8422 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004649/0.4117, allocations: 1.316 MB / 0.8435 GB, free: 15.65 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005754/0.4175, allocations: 3.276 MB / 0.8467 GB, free: 12.36 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.4194, allocations: 1.056 MB / 0.8478 GB, free: 11.29 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.4235, allocations: 1.372 MB / 0.8491 GB, free: 9.914 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.4255, allocations: 0.9375 MB / 0.85 GB, free: 8.973 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.4257, allocations: 132 kB / 0.8501 GB, free: 8.844 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004014/0.4297, allocations: 1.564 MB / 0.8517 GB, free: 7.277 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003657/0.4301, allocations: 314.9 kB / 0.852 GB, free: 6.969 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.4312, allocations: 0.6882 MB / 0.8526 GB, free: 6.277 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005096/0.4363, allocations: 2.439 MB / 0.855 GB, free: 3.832 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.4364, allocations: 3.938 kB / 0.855 GB, free: 3.828 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.138e-06/0.4364, allocations: 0 / 0.855 GB, free: 3.828 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.834e-05/0.4364, allocations: 7.938 kB / 0.855 GB, free: 3.82 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.003341/0.4398, allocations: 1.667 MB / 0.8567 GB, free: 2.102 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4398, allocations: 8.031 kB / 0.8567 GB, free: 2.094 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.4402, allocations: 135.4 kB / 0.8568 GB, free: 1.961 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.4426, allocations: 1.182 MB / 0.858 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/0.4427, allocations: 50 kB / 0.858 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.4428, allocations: 71.91 kB / 0.8581 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.4441, allocations: 0.7599 MB / 0.8588 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.4442, allocations: 3.938 kB / 0.8588 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.847e-05/0.4443, allocations: 28 kB / 0.8588 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/0.4443, allocations: 20 kB / 0.8589 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.4454, allocations: 0.5672 MB / 0.8594 GB, free: 15.22 MB / 0.6856 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.006075/0.4515, allocations: 4.022 MB / 0.8633 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.4527, allocations: 467.6 kB / 0.8638 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.453, allocations: 221.1 kB / 0.864 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001358/0.4544, allocations: 1.508 MB / 0.8655 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.4545, allocations: 42.91 kB / 0.8655 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 3.286e-06/0.4545, allocations: 0 / 0.8655 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.001707/0.4562, allocations: 0.6626 MB / 0.8662 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.4562, allocations: 55.41 kB / 0.8662 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.4579, allocations: 1.014 MB / 0.8672 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.458, allocations: 33.7 kB / 0.8672 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/0.4585, allocations: 488.5 kB / 0.8677 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.4587, allocations: 165.6 kB / 0.8679 GB, free: 5.848 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.4589, allocations: 114.1 kB / 0.868 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.459, allocations: 330 kB / 0.8683 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.4594, allocations: 187 kB / 0.8685 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/0.4599, allocations: 328.4 kB / 0.8688 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008951/0.4608, allocations: 0.5074 MB / 0.8693 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4608, allocations: 0 / 0.8693 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001347/0.4622, allocations: 0.6434 MB / 0.8699 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.4622, allocations: 8 kB / 0.8699 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.455e-05/0.4623, allocations: 15.86 kB / 0.8699 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/0.4623, allocations: 8 kB / 0.8699 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/0.4627, allocations: 115.9 kB / 0.87 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.4628, allocations: 15.92 kB / 0.8701 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006959/0.4635, allocations: 75.2 kB / 0.8701 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-05/0.4636, allocations: 27.98 kB / 0.8702 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007031/0.4643, allocations: 405.1 kB / 0.8705 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005182/0.4648, allocations: 320.4 kB / 0.8708 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000835/0.4656, allocations: 0.511 MB / 0.8713 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.4657, allocations: 4 kB / 0.8713 GB, free: 2.055 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.00136/0.467, allocations: 0.6434 MB / 0.872 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4671, allocations: 4 kB / 0.872 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.4671, allocations: 8 kB / 0.872 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.4671, allocations: 7.938 kB / 0.872 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005288/0.4676, allocations: 119.8 kB / 0.8721 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.4677, allocations: 15.97 kB / 0.8721 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.4683, allocations: 47.58 kB / 0.8722 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.706e-05/0.4684, allocations: 31.98 kB / 0.8722 GB, free: 1.172 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002625/0.4687, allocations: 219.4 kB / 0.8724 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.4689, allocations: 106.7 kB / 0.8725 GB, free: 0.8477 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.4707, allocations: 0.972 MB / 0.8735 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.4708, allocations: 8 kB / 0.8735 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4708, allocations: 0 / 0.8735 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00116/0.4719, allocations: 0.8414 MB / 0.8743 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/0.4754, allocations: 2.02 MB / 0.8763 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.4754, allocations: 4 kB / 0.8763 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.4758, allocations: 95.88 kB / 0.8764 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.4758, allocations: 4 kB / 0.8764 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.4759, allocations: 19.98 kB / 0.8764 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.4759, allocations: 4 kB / 0.8764 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.4759, allocations: 11.88 kB / 0.8764 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.4777, allocations: 1.202 MB / 0.8776 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/0.4781, allocations: 283.5 kB / 0.8778 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.4782, allocations: 16 kB / 0.8779 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.4788, allocations: 27.92 kB / 0.8779 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.4789, allocations: 60.36 kB / 0.8779 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-05/0.479, allocations: 27.98 kB / 0.878 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001336/0.4803, allocations: 0.7265 MB / 0.8787 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4803, allocations: 4 kB / 0.8787 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002068/0.4824, allocations: 0.6047 MB / 0.8793 GB, free: 9.684 MB / 0.7012 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 (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.001247/0.4837, allocations: 0.5189 MB / 0.8798 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00216/0.4858, allocations: 0.9623 MB / 0.8807 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/0.4859, allocations: 4.125 kB / 0.8807 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007189/0.4866, allocations: 402.4 kB / 0.8811 GB, free: 7.77 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/0.4895, allocations: 0.6116 MB / 0.8817 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.4928, allocations: 2.053 MB / 0.8837 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.4934, allocations: 1.058 MB / 0.8847 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001011/0.4945, allocations: 296.8 kB / 0.885 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.4947, allocations: 111.3 kB / 0.8851 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of SimCode: time 4.51e-07/0.4947, allocations: 0 / 0.8851 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of Templates: time 0.0458/0.5405, allocations: 26.73 MB / 0.9112 GB, free: 9.203 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (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)