Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 89.66 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.008321/0.008321, allocations: 173.9 kB / 16.27 MB, free: 6.613 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 17.61 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3643, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.07058/0.4349, allocations: 75.05 MB / 1.147 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02698/0.4619, allocations: 19.87 MB / 1.167 GB, free: 8.332 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003409/0.4654, allocations: 67.56 kB / 1.167 GB, free: 8.266 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.4681, allocations: 0.812 MB / 1.168 GB, free: 7.449 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00757/0.4757, allocations: 2.633 MB / 1.17 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005288/0.481, allocations: 1.89 MB / 1.172 GB, free: 2.926 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007798/0.4888, allocations: 6.715 MB / 1.179 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002767/0.4916, allocations: 1.365 MB / 1.18 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004356/0.496, allocations: 1.765 MB / 1.182 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002732/0.4987, allocations: 1.419 MB / 1.183 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005938/0.4993, allocations: 76 kB / 1.183 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004729/0.5041, allocations: 1.789 MB / 1.185 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007657/0.5048, allocations: 362.2 kB / 1.185 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002076/0.5069, allocations: 0.9847 MB / 1.186 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005945/0.5129, allocations: 3.337 MB / 1.189 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5129, allocations: 0 / 1.189 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5129, allocations: 0 / 1.189 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001014/0.513, allocations: 0 / 1.189 GB, free: 1.023 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.005781/0.5188, allocations: 2.132 MB / 1.192 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.5188, allocations: 8.031 kB / 1.192 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.521, allocations: 437.2 kB / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003695/0.5247, allocations: 1.778 MB / 1.194 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.312e-05/0.5248, allocations: 94.44 kB / 1.194 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.525, allocations: 127.8 kB / 1.194 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/0.5276, allocations: 1.448 MB / 1.195 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.5277, allocations: 3.938 kB / 1.195 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.5278, allocations: 55.94 kB / 1.195 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/0.5279, allocations: 40 kB / 1.195 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.5301, allocations: 1.098 MB / 1.197 GB, free: 9.582 MB / 0.9512 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.008351/0.5385, allocations: 7.867 MB / 1.204 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0037/0.5422, allocations: 1.078 MB / 1.205 GB, free: 12 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009035/0.5431, allocations: 447.8 kB / 1.206 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001793/0.5449, allocations: 1.876 MB / 1.208 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.546, allocations: 0.5022 MB / 1.208 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=84): time 3.446e-06/0.546, allocations: 0 / 1.208 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of matching and sorting (n=84): time 0.002964/0.549, allocations: 1.304 MB / 1.209 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.5491, allocations: 89.7 kB / 1.209 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.5511, allocations: 1.383 MB / 1.211 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.535e-05/0.5512, allocations: 49.7 kB / 1.211 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007022/0.552, allocations: 0.8178 MB / 1.212 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/0.5523, allocations: 287.8 kB / 1.212 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.5524, allocations: 85.67 kB / 1.212 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5526, allocations: 349.9 kB / 1.212 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008696/0.5535, allocations: 370.4 kB / 1.213 GB, free: 8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.5545, allocations: 0.6793 MB / 1.213 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.5565, allocations: 1.087 MB / 1.214 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.5565, allocations: 3.938 kB / 1.214 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002702/0.5592, allocations: 1.269 MB / 1.216 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002787/0.5595, allocations: 361.7 kB / 1.216 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/0.5596, allocations: 8 kB / 1.216 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/0.5596, allocations: 20 kB / 1.216 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009854/0.5606, allocations: 259.6 kB / 1.216 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.175e-05/0.5606, allocations: 19.94 kB / 1.216 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.5621, allocations: 190.8 kB / 1.216 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.5623, allocations: 55.98 kB / 1.216 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.5623, allocations: 9.5 kB / 1.216 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002379/0.5647, allocations: 1.085 MB / 1.218 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/0.5647, allocations: 8.812 kB / 1.218 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.5647, allocations: 19.94 kB / 1.218 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009267/0.5657, allocations: 259.7 kB / 1.218 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/0.5657, allocations: 19.94 kB / 1.218 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.5672, allocations: 175 kB / 1.218 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.5673, allocations: 59.92 kB / 1.218 GB, free: 2.047 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * 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.0008452/0.5682, allocations: 449.3 kB / 1.218 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.5685, allocations: 169.9 kB / 1.219 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003375/0.5719, allocations: 1.482 MB / 1.22 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/0.5719, allocations: 16 kB / 1.22 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.572, allocations: 3.984 kB / 1.22 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002151/0.5741, allocations: 1.109 MB / 1.221 GB, free: 14.8 MB / 0.9825 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 postOpt removeSimpleEquations (simulation): time 0.00575/0.5799, allocations: 2.95 MB / 1.224 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.5799, allocations: 4 kB / 1.224 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008353/0.5808, allocations: 183.8 kB / 1.224 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/0.5808, allocations: 8 kB / 1.224 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.394e-05/0.5809, allocations: 27.98 kB / 1.224 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-05/0.5809, allocations: 12.06 kB / 1.224 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5809, allocations: 7.938 kB / 1.224 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003687/0.5846, allocations: 1.923 MB / 1.226 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008661/0.5855, allocations: 410.5 kB / 1.227 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/0.5858, allocations: 16 kB / 1.227 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.5871, allocations: 142.4 kB / 1.227 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.5873, allocations: 76.83 kB / 1.227 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.5874, allocations: 47.91 kB / 1.227 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001718/0.5891, allocations: 0.9279 MB / 1.228 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.01e-07/0.5891, allocations: 4 kB / 1.228 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003456/0.5926, allocations: 0.9822 MB / 1.229 GB, free: 6.984 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (pipe.del.x,pipe.timDel.x,pipe.vol_b.dynBal.U,pipe.vol_a.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * 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.002619/0.5952, allocations: 0.9659 MB / 1.23 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003803/0.599, allocations: 1.711 MB / 1.231 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.599, allocations: 0.8125 kB / 1.231 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.6002, allocations: 0.6299 MB / 1.232 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004545/0.6048, allocations: 0.7356 MB / 1.233 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008403/0.6132, allocations: 4.045 MB / 1.237 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.6145, allocations: 1.323 MB / 1.238 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002059/0.6165, allocations: 451.8 kB / 1.238 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/0.6171, allocations: 171.3 kB / 1.238 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of SimCode: time 2.074e-06/0.6171, allocations: 0 / 1.238 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of Templates: time 0.6853/1.302, allocations: 33.6 MB / 1.271 GB, free: 168.4 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)