Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.842/1.842, allocations: 288.4 MB / 303.4 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 186.9 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 0.6307 GB, free: 9.867 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 84.7 kB / 0.7441 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004434, allocations: 15.77 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2842, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.04987/0.3342, allocations: 56.08 MB / 1.034 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02574/0.36, allocations: 17.07 MB / 1.051 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003397/0.3634, allocations: 55.62 kB / 1.051 GB, free: 2.242 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003404/0.3669, allocations: 0.5977 MB / 1.052 GB, free: 1.641 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008913/0.3758, allocations: 2.027 MB / 1.054 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006005/0.3818, allocations: 1.268 MB / 1.055 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008223/0.3901, allocations: 4.88 MB / 1.06 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003337/0.3934, allocations: 1.077 MB / 1.061 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005054/0.3985, allocations: 1.489 MB / 1.062 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003187/0.4017, allocations: 1.167 MB / 1.063 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006694/0.4024, allocations: 68 kB / 1.063 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005494/0.4079, allocations: 1.286 MB / 1.065 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.409, allocations: 294.5 kB / 1.065 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001965/0.411, allocations: 368.8 kB / 1.065 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005855/0.4169, allocations: 2.248 MB / 1.067 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.4169, allocations: 0 / 1.067 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.845e-06/0.4169, allocations: 0 / 1.067 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001439/0.4171, allocations: 8 kB / 1.067 GB, free: 1.406 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.5998/1.017, allocations: 1.935 MB / 1.069 GB, free: 90.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.017, allocations: 9.469 kB / 1.069 GB, free: 90.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/1.019, allocations: 405.6 kB / 1.07 GB, free: 90.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004725/1.024, allocations: 1.498 MB / 1.071 GB, free: 90.12 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/1.024, allocations: 81.06 kB / 1.071 GB, free: 90.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/1.024, allocations: 106.8 kB / 1.071 GB, free: 90.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/1.027, allocations: 1.23 MB / 1.073 GB, free: 89.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/1.027, allocations: 1.094 kB / 1.073 GB, free: 89.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.027, allocations: 47.31 kB / 1.073 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/1.027, allocations: 28.95 kB / 1.073 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/1.03, allocations: 0.9534 MB / 1.074 GB, free: 89.08 MB / 0.6823 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.01034/1.04, allocations: 6.992 MB / 1.08 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/1.043, allocations: 0.827 MB / 1.081 GB, free: 83.31 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/1.044, allocations: 397.6 kB / 1.082 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/1.046, allocations: 1.79 MB / 1.083 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/1.047, allocations: 464.9 kB / 1.084 GB, free: 81.01 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.897e-06/1.047, allocations: 0.8125 kB / 1.084 GB, free: 81.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.003327/1.05, allocations: 1.198 MB / 1.085 GB, free: 80.58 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/1.05, allocations: 86.22 kB / 1.085 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/1.053, allocations: 1.284 MB / 1.086 GB, free: 79.97 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.397e-05/1.053, allocations: 42.97 kB / 1.086 GB, free: 79.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006806/1.053, allocations: 0.7193 MB / 1.087 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/1.054, allocations: 257.5 kB / 1.087 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/1.054, allocations: 15.25 kB / 1.087 GB, free: 79.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.054, allocations: 348.9 kB / 1.088 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008666/1.055, allocations: 333 kB / 1.088 GB, free: 78.72 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009993/1.056, allocations: 0.5876 MB / 1.089 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009686/1.057, allocations: 410.2 kB / 1.089 GB, free: 78.15 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.057, allocations: 2.344 kB / 1.089 GB, free: 78.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002707/1.059, allocations: 1.107 MB / 1.09 GB, free: 77.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002057/1.06, allocations: 308.6 kB / 1.09 GB, free: 77.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.81e-05/1.06, allocations: 10.8 kB / 1.09 GB, free: 77.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.788e-05/1.06, allocations: 13.44 kB / 1.09 GB, free: 77.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009723/1.061, allocations: 217.7 kB / 1.091 GB, free: 77.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.226e-05/1.061, allocations: 21.25 kB / 1.091 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.062, allocations: 167.6 kB / 1.091 GB, free: 77.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/1.063, allocations: 48.44 kB / 1.091 GB, free: 77.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/1.063, allocations: 3.922 kB / 1.091 GB, free: 77.23 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002436/1.065, allocations: 0.9516 MB / 1.092 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/1.065, allocations: 10.44 kB / 1.092 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/1.065, allocations: 13.28 kB / 1.092 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009015/1.066, allocations: 221.7 kB / 1.092 GB, free: 76.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.335e-05/1.066, allocations: 17.67 kB / 1.092 GB, free: 76.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/1.067, allocations: 161.5 kB / 1.092 GB, free: 76.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/1.068, allocations: 48.67 kB / 1.092 GB, free: 76.79 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007815/1.068, allocations: 420.7 kB / 1.093 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/1.069, allocations: 145.5 kB / 1.093 GB, free: 76.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003495/1.072, allocations: 1.402 MB / 1.094 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.811e-05/1.072, allocations: 17.42 kB / 1.094 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/1.072, allocations: 0 / 1.094 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002519/1.075, allocations: 1.21 MB / 1.095 GB, free: 75.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007644/1.082, allocations: 2.672 MB / 1.098 GB, free: 74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/1.082, allocations: 2.875 kB / 1.098 GB, free: 74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000876/1.083, allocations: 165.5 kB / 1.098 GB, free: 73.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.607e-05/1.083, allocations: 8.812 kB / 1.098 GB, free: 73.98 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/1.084, allocations: 35.44 kB / 1.098 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/1.084, allocations: 3.562 kB / 1.098 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.084, allocations: 6.484 kB / 1.098 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004309/1.088, allocations: 1.823 MB / 1.1 GB, free: 73.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009549/1.089, allocations: 384.9 kB / 1.1 GB, free: 72.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004288/1.089, allocations: 18.97 kB / 1.1 GB, free: 72.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/1.091, allocations: 114.4 kB / 1.1 GB, free: 72.83 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/1.091, allocations: 64.92 kB / 1.1 GB, free: 72.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.091, allocations: 40.56 kB / 1.1 GB, free: 72.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002103/1.093, allocations: 0.8709 MB / 1.101 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.4e-07/1.093, allocations: 1.562 kB / 1.101 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003768/1.097, allocations: 0.8451 MB / 1.102 GB, free: 72.31 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.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 (91): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002505/1.1, allocations: 0.8997 MB / 1.103 GB, free: 72 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00392/1.104, allocations: 1.545 MB / 1.104 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.104, allocations: 1.25 kB / 1.104 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/1.105, allocations: 0.5913 MB / 1.105 GB, free: 71.17 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00431/1.109, allocations: 0.6458 MB / 1.106 GB, free: 70.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008659/1.118, allocations: 3.563 MB / 1.109 GB, free: 68.65 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.119, allocations: 1.245 MB / 1.11 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002392/1.122, allocations: 412 kB / 1.111 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005853/1.122, allocations: 147.5 kB / 1.111 GB, free: 67.46 MB / 0.6823 GB Notification: Performance of SimCode: time 1.864e-06/1.122, allocations: 0 / 1.111 GB, free: 67.46 MB / 0.6823 GB Notification: Performance of Templates: time 0.05343/1.176, allocations: 29.88 MB / 1.14 GB, free: 44.76 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)