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.001087/0.001087, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001217/0.001217, allocations: 190.7 kB / 16.14 MB, free: 6.703 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.649/1.649, allocations: 205.1 MB / 222 MB, free: 4.758 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.763/1.763, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001604/0.001604, allocations: 67.41 kB / 0.6708 GB, free: 26.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2858, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.05197/0.3378, allocations: 44.44 MB / 0.8261 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01925/0.3571, allocations: 13.09 MB / 0.8388 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.3598, allocations: 39.75 kB / 0.8389 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.3622, allocations: 493.3 kB / 0.8394 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006405/0.3686, allocations: 1.816 MB / 0.8411 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00379/0.3724, allocations: 1.178 MB / 0.8423 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005493/0.3779, allocations: 4.243 MB / 0.8464 GB, free: 12.52 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.38, allocations: 0.8708 MB / 0.8473 GB, free: 11.63 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003627/0.3836, allocations: 1.167 MB / 0.8484 GB, free: 10.46 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002106/0.3858, allocations: 0.9373 MB / 0.8493 GB, free: 9.516 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004205/0.3862, allocations: 60 kB / 0.8494 GB, free: 9.457 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.3902, allocations: 1.427 MB / 0.8508 GB, free: 8.027 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005578/0.3908, allocations: 246.9 kB / 0.851 GB, free: 7.785 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.3924, allocations: 0.618 MB / 0.8516 GB, free: 7.164 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00507/0.3975, allocations: 2.392 MB / 0.854 GB, free: 4.766 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3976, allocations: 4 kB / 0.854 GB, free: 4.762 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3976, allocations: 0 / 0.854 GB, free: 4.762 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.818e-05/0.3977, allocations: 0 / 0.854 GB, free: 4.762 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.004776/0.4024, allocations: 1.67 MB / 0.8556 GB, free: 3.035 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4025, allocations: 8.031 kB / 0.8556 GB, free: 3.027 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006016/0.4031, allocations: 131.4 kB / 0.8557 GB, free: 2.898 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003539/0.4067, allocations: 1.194 MB / 0.8569 GB, free: 1.66 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.4067, allocations: 54 kB / 0.8569 GB, free: 1.609 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.4069, allocations: 72 kB / 0.857 GB, free: 1.539 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.4086, allocations: 0.7637 MB / 0.8578 GB, free: 0.75 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.4086, allocations: 3.984 kB / 0.8578 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.478e-05/0.4087, allocations: 24 kB / 0.8578 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.4088, allocations: 20 kB / 0.8578 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.41, allocations: 0.5633 MB / 0.8583 GB, free: 140 kB / 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.006721/0.4168, allocations: 3.998 MB / 0.8623 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.4179, allocations: 475 kB / 0.8627 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004114/0.4183, allocations: 217.1 kB / 0.8629 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001588/0.4199, allocations: 1.508 MB / 0.8644 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.42, allocations: 42.91 kB / 0.8644 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 3.797e-06/0.42, allocations: 0 / 0.8644 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.001876/0.4219, allocations: 0.6664 MB / 0.8651 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.4219, allocations: 55.41 kB / 0.8651 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.424, allocations: 1.002 MB / 0.8661 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.707e-05/0.4241, allocations: 37.7 kB / 0.8661 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000472/0.4246, allocations: 496.5 kB / 0.8666 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.4248, allocations: 161.7 kB / 0.8668 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.425, allocations: 122.1 kB / 0.8669 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4252, allocations: 326 kB / 0.8672 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.4256, allocations: 187 kB / 0.8674 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/0.4261, allocations: 320.5 kB / 0.8677 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008867/0.427, allocations: 0.5074 MB / 0.8682 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.427, allocations: 4 kB / 0.8682 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001531/0.4286, allocations: 0.6469 MB / 0.8688 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.4286, allocations: 8 kB / 0.8688 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/0.4286, allocations: 7.938 kB / 0.8688 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.4287, allocations: 4.438 kB / 0.8688 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.4292, allocations: 131.8 kB / 0.869 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.4292, allocations: 4.062 kB / 0.869 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009981/0.4302, allocations: 107.1 kB / 0.8691 GB, free: 4.328 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/0.4303, allocations: 27.98 kB / 0.8691 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000678/0.431, allocations: 405.1 kB / 0.8695 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00048/0.4315, allocations: 323 kB / 0.8698 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008579/0.4323, allocations: 0.5071 MB / 0.8703 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.011e-06/0.4323, allocations: 0 / 0.8703 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001385/0.4337, allocations: 0.6432 MB / 0.8709 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4338, allocations: 8 kB / 0.8709 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.4338, allocations: 4 kB / 0.8709 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-06/0.4338, allocations: 7.938 kB / 0.8709 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.4343, allocations: 127.8 kB / 0.871 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.4343, allocations: 11.92 kB / 0.8711 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/0.4351, allocations: 71.78 kB / 0.8711 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/0.4352, allocations: 27.98 kB / 0.8712 GB, free: 2.078 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.0002435/0.4354, allocations: 218.9 kB / 0.8714 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/0.4357, allocations: 106.7 kB / 0.8715 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.4377, allocations: 0.9718 MB / 0.8724 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/0.4377, allocations: 8 kB / 0.8724 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.4377, allocations: 3.984 kB / 0.8724 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/0.4389, allocations: 0.8376 MB / 0.8732 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003596/0.4425, allocations: 2.004 MB / 0.8752 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.4425, allocations: 4 kB / 0.8752 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.443, allocations: 104.1 kB / 0.8753 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/0.443, allocations: 7.984 kB / 0.8753 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.898e-05/0.443, allocations: 20 kB / 0.8753 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.4431, allocations: 4 kB / 0.8753 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4431, allocations: 4 kB / 0.8753 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.4451, allocations: 1.202 MB / 0.8765 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005968/0.4457, allocations: 279.5 kB / 0.8768 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.4459, allocations: 12 kB / 0.8768 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007437/0.4467, allocations: 51.89 kB / 0.8768 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.4468, allocations: 60.42 kB / 0.8769 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/0.4469, allocations: 27.98 kB / 0.8769 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001259/0.4482, allocations: 0.7187 MB / 0.8776 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.074e-06/0.4482, allocations: 0 / 0.8776 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00197/0.4502, allocations: 0.6084 MB / 0.8782 GB, free: 10.59 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.001326/0.4515, allocations: 0.5235 MB / 0.8787 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001953/0.4535, allocations: 0.9271 MB / 0.8796 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4535, allocations: 4 kB / 0.8796 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006954/0.4542, allocations: 398.4 kB / 0.88 GB, free: 8.711 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/0.4574, allocations: 0.5606 MB / 0.8806 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.4616, allocations: 2.395 MB / 0.8829 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009337/0.4626, allocations: 1.058 MB / 0.8839 GB, free: 4.625 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001304/0.4639, allocations: 292.8 kB / 0.8842 GB, free: 4.336 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.4642, allocations: 107.3 kB / 0.8843 GB, free: 4.23 MB / 0.7012 GB Notification: Performance of SimCode: time 9.42e-07/0.4642, allocations: 0 / 0.8843 GB, free: 4.23 MB / 0.7012 GB Notification: Performance of Templates: time 0.04784/0.5121, allocations: 25.56 MB / 0.9093 GB, free: 11 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)