Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001126/0.001126, allocations: 90.52 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.008498/0.008498, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.347/1.347, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003884, allocations: 10.84 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.328, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.07091/0.3989, allocations: 75.05 MB / 1.147 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02682/0.4258, allocations: 19.87 MB / 1.167 GB, free: 8.363 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003183/0.429, allocations: 67.56 kB / 1.167 GB, free: 8.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.4318, allocations: 0.8041 MB / 1.168 GB, free: 7.488 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008195/0.44, allocations: 2.644 MB / 1.17 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005623/0.4457, allocations: 1.903 MB / 1.172 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008669/0.4544, allocations: 6.714 MB / 1.179 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.4568, allocations: 1.357 MB / 1.18 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004307/0.4612, allocations: 1.765 MB / 1.182 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002537/0.4637, allocations: 1.419 MB / 1.183 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002727/0.464, allocations: 76 kB / 1.183 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00429/0.4683, allocations: 1.789 MB / 1.185 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000438/0.4688, allocations: 366.2 kB / 1.185 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.4702, allocations: 0.9769 MB / 1.186 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005313/0.4756, allocations: 3.341 MB / 1.189 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.4756, allocations: 0 / 1.189 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4756, allocations: 0 / 1.189 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.721e-05/0.4756, allocations: 4 kB / 1.189 GB, free: 1.047 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.004316/0.48, allocations: 2.128 MB / 1.192 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.48, allocations: 8.031 kB / 1.192 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/0.482, allocations: 440.9 kB / 1.192 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003404/0.4854, allocations: 1.78 MB / 1.194 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-05/0.4855, allocations: 98.38 kB / 1.194 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.4857, allocations: 123.9 kB / 1.194 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/0.4883, allocations: 1.448 MB / 1.195 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/0.4883, allocations: 7.938 kB / 1.195 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.4884, allocations: 52 kB / 1.195 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.4885, allocations: 32 kB / 1.195 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.4908, allocations: 1.105 MB / 1.197 GB, free: 9.609 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.009332/0.5001, allocations: 7.863 MB / 1.204 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/0.5038, allocations: 1.077 MB / 1.205 GB, free: 44 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008749/0.5047, allocations: 451.8 kB / 1.206 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/0.5064, allocations: 1.876 MB / 1.208 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.5076, allocations: 0.5022 MB / 1.208 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=84): time 5.6e-06/0.5076, allocations: 0 / 1.208 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=84): time 0.003187/0.5108, allocations: 1.304 MB / 1.209 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.5109, allocations: 89.75 kB / 1.209 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.5129, allocations: 1.379 MB / 1.211 GB, free: 10 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.119e-05/0.5129, allocations: 45.7 kB / 1.211 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007007/0.5137, allocations: 0.8139 MB / 1.212 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/0.514, allocations: 295.8 kB / 1.212 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.5141, allocations: 89.67 kB / 1.212 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5142, allocations: 345.9 kB / 1.212 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000835/0.5151, allocations: 374.4 kB / 1.213 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.5161, allocations: 0.6832 MB / 1.213 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.518, allocations: 1.083 MB / 1.214 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.518, allocations: 0 / 1.214 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002627/0.5206, allocations: 1.265 MB / 1.216 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002565/0.5209, allocations: 366.7 kB / 1.216 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/0.5209, allocations: 12 kB / 1.216 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/0.521, allocations: 16 kB / 1.216 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009612/0.5219, allocations: 259.6 kB / 1.216 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.522, allocations: 19.94 kB / 1.216 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.5233, allocations: 194.7 kB / 1.216 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.5234, allocations: 55.98 kB / 1.216 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.5235, allocations: 4 kB / 1.216 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00222/0.5257, allocations: 1.093 MB / 1.218 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.5257, allocations: 8 kB / 1.218 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.5258, allocations: 16 kB / 1.218 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.5271, allocations: 256.2 kB / 1.218 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/0.5271, allocations: 23.92 kB / 1.218 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.5286, allocations: 179 kB / 1.218 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.711e-05/0.5287, allocations: 51.98 kB / 1.218 GB, free: 2.078 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.0009412/0.5297, allocations: 451.9 kB / 1.218 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/0.5299, allocations: 165.9 kB / 1.219 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/0.5331, allocations: 1.483 MB / 1.22 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.5331, allocations: 16 kB / 1.22 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5332, allocations: 3.938 kB / 1.22 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002104/0.5353, allocations: 1.117 MB / 1.221 GB, free: 14.83 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.0052/0.5405, allocations: 2.938 MB / 1.224 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/0.5405, allocations: 4 kB / 1.224 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008622/0.5414, allocations: 187.8 kB / 1.224 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/0.5414, allocations: 8 kB / 1.224 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-05/0.5415, allocations: 31.97 kB / 1.224 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.5415, allocations: 8 kB / 1.224 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5415, allocations: 3.938 kB / 1.224 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003564/0.5451, allocations: 1.923 MB / 1.226 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008139/0.5459, allocations: 414.5 kB / 1.227 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.5461, allocations: 16 kB / 1.227 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.5472, allocations: 146.4 kB / 1.227 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.5474, allocations: 80.81 kB / 1.227 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-05/0.5475, allocations: 39.97 kB / 1.227 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001459/0.549, allocations: 0.9318 MB / 1.228 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.5e-07/0.549, allocations: 0 / 1.228 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002819/0.5518, allocations: 0.9822 MB / 1.229 GB, free: 7.012 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.002191/0.554, allocations: 0.965 MB / 1.23 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003512/0.5575, allocations: 1.711 MB / 1.231 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5575, allocations: 0 / 1.231 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.5586, allocations: 0.6229 MB / 1.232 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003848/0.5625, allocations: 0.7434 MB / 1.233 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00807/0.5706, allocations: 4.046 MB / 1.237 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009913/0.5716, allocations: 1.327 MB / 1.238 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001997/0.5736, allocations: 454.5 kB / 1.238 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/0.574, allocations: 155.4 kB / 1.238 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of SimCode: time 1.302e-06/0.574, allocations: 3.938 kB / 1.238 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.6298/1.204, allocations: 33.6 MB / 1.271 GB, free: 168.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)