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.0009978/0.0009978, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009701/0.009702, allocations: 172.3 kB / 16.26 MB, free: 6.676 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.757/1.757, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.911/1.911, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.000587/0.000587, allocations: 16.02 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3184, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.04356/0.362, allocations: 43.53 MB / 0.8304 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0195/0.3816, allocations: 12.93 MB / 0.843 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002717/0.3843, allocations: 39.75 kB / 0.843 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.3868, allocations: 489.3 kB / 0.8435 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007459/0.3942, allocations: 1.815 MB / 0.8453 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004512/0.3988, allocations: 1.185 MB / 0.8464 GB, free: 15.4 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006949/0.4057, allocations: 4.239 MB / 0.8506 GB, free: 11.15 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.4081, allocations: 0.8424 MB / 0.8514 GB, free: 10.29 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003821/0.4119, allocations: 1.143 MB / 0.8525 GB, free: 9.141 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00254/0.4145, allocations: 0.8943 MB / 0.8534 GB, free: 8.242 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000463/0.415, allocations: 48 kB / 0.8534 GB, free: 8.195 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004317/0.4193, allocations: 1.423 MB / 0.8548 GB, free: 6.77 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005627/0.4199, allocations: 223 kB / 0.855 GB, free: 6.551 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001713/0.4216, allocations: 0.6197 MB / 0.8556 GB, free: 5.922 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00609/0.4277, allocations: 2.356 MB / 0.8579 GB, free: 3.559 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4278, allocations: 4 kB / 0.858 GB, free: 3.555 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4278, allocations: 0 / 0.858 GB, free: 3.555 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.127e-05/0.4279, allocations: 0 / 0.858 GB, free: 3.555 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.004603/0.4325, allocations: 1.449 MB / 0.8594 GB, free: 2.051 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/0.4326, allocations: 8.031 kB / 0.8594 GB, free: 2.043 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007234/0.4333, allocations: 135.4 kB / 0.8595 GB, free: 1.91 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003405/0.4367, allocations: 1.194 MB / 0.8607 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.833e-05/0.4368, allocations: 58 kB / 0.8607 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.437, allocations: 72 kB / 0.8608 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.4388, allocations: 0.7676 MB / 0.8615 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.11e-05/0.4389, allocations: 3.906 kB / 0.8615 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-05/0.439, allocations: 32 kB / 0.8616 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/0.439, allocations: 23.98 kB / 0.8616 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.4403, allocations: 0.5711 MB / 0.8622 GB, free: 15.12 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.006826/0.4471, allocations: 4.014 MB / 0.8661 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.4483, allocations: 469.6 kB / 0.8665 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004502/0.4488, allocations: 225.1 kB / 0.8667 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001762/0.4506, allocations: 1.519 MB / 0.8682 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.185e-05/0.4507, allocations: 38.92 kB / 0.8683 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 4.489e-06/0.4507, allocations: 0 / 0.8683 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.001621/0.4523, allocations: 0.6899 MB / 0.8689 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.4524, allocations: 55.41 kB / 0.869 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.4538, allocations: 1.006 MB / 0.87 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.892e-05/0.4539, allocations: 37.7 kB / 0.87 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00045/0.4544, allocations: 484.6 kB / 0.8705 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.4546, allocations: 157.7 kB / 0.8706 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.729e-05/0.4547, allocations: 57.69 kB / 0.8707 GB, free: 5.676 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4548, allocations: 330 kB / 0.871 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.4552, allocations: 185 kB / 0.8712 GB, free: 5.168 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/0.4557, allocations: 320.5 kB / 0.8715 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009328/0.4567, allocations: 0.5269 MB / 0.872 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.4567, allocations: 0 / 0.872 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001316/0.458, allocations: 0.6627 MB / 0.8726 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.4582, allocations: 195.2 kB / 0.8728 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/0.4582, allocations: 4 kB / 0.8728 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.4583, allocations: 8 kB / 0.8728 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.4587, allocations: 123.8 kB / 0.8729 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/0.4588, allocations: 8 kB / 0.873 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008614/0.4596, allocations: 99.12 kB / 0.8731 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.4597, allocations: 31.98 kB / 0.8731 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.4597, allocations: 4 kB / 0.8731 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001014/0.4607, allocations: 0.5332 MB / 0.8736 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.4608, allocations: 8.422 kB / 0.8736 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.4608, allocations: 12 kB / 0.8736 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.4612, allocations: 127.8 kB / 0.8737 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4612, allocations: 11.94 kB / 0.8738 GB, free: 2.355 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/0.4619, allocations: 91.25 kB / 0.8738 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.4619, allocations: 27.98 kB / 0.8739 GB, free: 2.238 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.0006053/0.4625, allocations: 352.1 kB / 0.8742 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.4627, allocations: 106.7 kB / 0.8743 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.4645, allocations: 0.9759 MB / 0.8753 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.4646, allocations: 19.86 kB / 0.8753 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4646, allocations: 0 / 0.8753 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/0.4657, allocations: 0.8531 MB / 0.8761 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/0.4689, allocations: 2.027 MB / 0.8781 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.4689, allocations: 4 kB / 0.8781 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.4693, allocations: 104.1 kB / 0.8782 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.4694, allocations: 4 kB / 0.8782 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.776e-05/0.4694, allocations: 19.98 kB / 0.8782 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.4694, allocations: 7.938 kB / 0.8782 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4694, allocations: 4 kB / 0.8782 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.4712, allocations: 1.218 MB / 0.8794 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.4717, allocations: 307.4 kB / 0.8797 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.4718, allocations: 16 kB / 0.8797 GB, free: 12 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005843/0.4724, allocations: 55.8 kB / 0.8798 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.4725, allocations: 52.44 kB / 0.8798 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.4726, allocations: 27.98 kB / 0.8799 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001073/0.4737, allocations: 0.7187 MB / 0.8806 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.51e-07/0.4737, allocations: 4 kB / 0.8806 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001745/0.4754, allocations: 0.6008 MB / 0.8812 GB, free: 10.54 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.001036/0.4765, allocations: 0.5178 MB / 0.8817 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.4781, allocations: 0.9464 MB / 0.8826 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4781, allocations: 0 / 0.8826 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005653/0.4787, allocations: 414.4 kB / 0.883 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/0.4817, allocations: 0.5698 MB / 0.8835 GB, free: 8.074 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003508/0.4852, allocations: 2.513 MB / 0.886 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006161/0.4858, allocations: 1.066 MB / 0.887 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001075/0.4869, allocations: 292.8 kB / 0.8873 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.4872, allocations: 107.4 kB / 0.8874 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of SimCode: time 6.91e-07/0.4872, allocations: 0 / 0.8874 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of Templates: time 0.04764/0.5348, allocations: 25.59 MB / 0.9124 GB, free: 10.75 MB / 0.7325 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: