Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.881/2.881, allocations: 287.5 MB / 302.4 MB, free: 8.273 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.00138/0.00138, allocations: 186 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009943/0.000994, allocations: 96.77 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006746/0.000675, allocations: 11.06 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2506, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT): time 1.004/1.255, allocations: 196.4 MB / 1.17 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1155/1.37, allocations: 58.21 MB / 1.227 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01098/1.381, allocations: 187.3 kB / 1.227 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.01248/1.394, allocations: 2.167 MB / 1.229 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.03555/1.43, allocations: 7.673 MB / 1.237 GB, free: 3.699 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.02349/1.453, allocations: 3.666 MB / 1.24 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.04484/1.498, allocations: 20.11 MB / 1.26 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01333/1.511, allocations: 4.311 MB / 1.264 GB, free: 7.52 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02068/1.532, allocations: 5.72 MB / 1.27 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01331/1.545, allocations: 4.683 MB / 1.274 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.00278/1.548, allocations: 264 kB / 1.275 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01755/1.566, allocations: 3.118 MB / 1.278 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.003505/1.569, allocations: 1.104 MB / 1.279 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.004437/1.574, allocations: 1.346 MB / 1.28 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0205/1.594, allocations: 8.771 MB / 1.289 GB, free: 14.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.595, allocations: 0 / 1.289 GB, free: 14.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.835e-06/1.595, allocations: 4 kB / 1.289 GB, free: 14.43 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003466/1.595, allocations: 0 / 1.289 GB, free: 14.43 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.02439/1.619, allocations: 6.293 MB / 1.295 GB, free: 8.051 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.619, allocations: 11.97 kB / 1.295 GB, free: 8.039 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003625/1.623, allocations: 0.7029 MB / 1.295 GB, free: 7.328 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02791/1.651, allocations: 5.848 MB / 1.301 GB, free: 1.41 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004598/1.651, allocations: 279.3 kB / 1.301 GB, free: 1.137 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/1.653, allocations: 387.9 kB / 1.302 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01382/1.667, allocations: 4.074 MB / 1.306 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/1.667, allocations: 15.84 kB / 1.306 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006447/1.668, allocations: 156 kB / 1.306 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/1.668, allocations: 99.98 kB / 1.306 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/1.679, allocations: 3.124 MB / 1.309 GB, free: 9.191 MB / 0.8386 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.05229/1.732, allocations: 23.43 MB / 1.332 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009085/1.741, allocations: 2.295 MB / 1.334 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003894/1.745, allocations: 1.262 MB / 1.335 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007397/1.752, allocations: 6.374 MB / 1.342 GB, free: 4.402 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004665/1.757, allocations: 1.407 MB / 1.343 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=261): time 6.822e-06/1.757, allocations: 0 / 1.343 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of matching and sorting (n=261): time 0.01218/1.769, allocations: 3.667 MB / 1.347 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.769, allocations: 107.1 kB / 1.347 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/1.781, allocations: 4.212 MB / 1.351 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007308/1.782, allocations: 77.7 kB / 1.351 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003555/1.785, allocations: 2.444 MB / 1.353 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001856/1.787, allocations: 0.8971 MB / 1.354 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/1.787, allocations: 60 kB / 1.354 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003043/1.788, allocations: 407.8 kB / 1.355 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003104/1.791, allocations: 0.9893 MB / 1.356 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003959/1.795, allocations: 1.657 MB / 1.357 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003934/1.799, allocations: 1.258 MB / 1.358 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-05/1.799, allocations: 4 kB / 1.358 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01143/1.81, allocations: 3.344 MB / 1.362 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005664/1.811, allocations: 0.579 MB / 1.362 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/1.811, allocations: 31.98 kB / 1.362 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.3e-05/1.811, allocations: 28 kB / 1.362 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004883/1.816, allocations: 0.6123 MB / 1.363 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.929e-05/1.816, allocations: 39.86 kB / 1.363 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006991/1.823, allocations: 489.1 kB / 1.363 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009005/1.824, allocations: 147.9 kB / 1.364 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.824, allocations: 4 kB / 1.364 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009931/1.834, allocations: 2.877 MB / 1.366 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/1.834, allocations: 35.98 kB / 1.366 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.472e-05/1.834, allocations: 32 kB / 1.366 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005764/1.84, allocations: 0.6007 MB / 1.367 GB, free: 9.699 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.625e-05/1.84, allocations: 39.86 kB / 1.367 GB, free: 9.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007193/1.847, allocations: 461.6 kB / 1.368 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009307/1.848, allocations: 147.9 kB / 1.368 GB, free: 9.062 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.004108/1.852, allocations: 1.072 MB / 1.369 GB, free: 7.98 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002014/1.855, allocations: 493.9 kB / 1.369 GB, free: 7.492 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01641/1.871, allocations: 4.886 MB / 1.374 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001447/1.871, allocations: 59.89 kB / 1.374 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/1.871, allocations: 0 / 1.374 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01024/1.881, allocations: 3.482 MB / 1.377 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02852/1.91, allocations: 9.367 MB / 1.387 GB, free: 5.566 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001113/1.91, allocations: 24.2 kB / 1.387 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004563/1.915, allocations: 0.5227 MB / 1.387 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.672e-05/1.915, allocations: 12 kB / 1.387 GB, free: 5.008 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004463/1.915, allocations: 95.94 kB / 1.387 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.048e-05/1.915, allocations: 16 kB / 1.387 GB, free: 4.898 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.915, allocations: 4 kB / 1.387 GB, free: 4.895 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01774/1.933, allocations: 5.928 MB / 1.393 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005134/1.938, allocations: 1.235 MB / 1.394 GB, free: 13.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002124/1.94, allocations: 64 kB / 1.394 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007087/1.948, allocations: 376 kB / 1.395 GB, free: 13.19 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001161/1.949, allocations: 266.2 kB / 1.395 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006503/1.949, allocations: 147.9 kB / 1.395 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.009601/1.959, allocations: 2.822 MB / 1.398 GB, free: 9.977 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.71e-07/1.959, allocations: 0 / 1.398 GB, free: 9.977 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01548/1.975, allocations: 3.168 MB / 1.401 GB, free: 6.801 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 23 (pip1.cor.del.x,pip1.cor.timDel.x,pip1.vol.dynBal.U,pip4.cor.del.x,pip4.cor.timDel.x,pip4.vol.dynBal.U,pip5.cor.del.x,pip5.cor.timDel.x,pip5.vol.dynBal.U,pip2.cor.del.x,pip2.cor.timDel.x,pip2.vol.dynBal.U,pip3.cor.del.x,pip3.cor.timDel.x,pip3.vol.dynBal.U,senTem_p3.T,senTem_p2.T,senTem_p4.T,senTem_p1.T,pip0.cor.del.x,pip0.cor.timDel.x,pip0.vol.dynBal.U,senTemIn_p2.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (343): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * 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.006898/1.982, allocations: 2.142 MB / 1.403 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01532/1.997, allocations: 5.197 MB / 1.408 GB, free: 15.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.997, allocations: 2.312 kB / 1.408 GB, free: 15.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006997/2.004, allocations: 2.261 MB / 1.41 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01961/2.024, allocations: 2.239 MB / 1.412 GB, free: 10.95 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7614/2.785, allocations: 12.19 MB / 1.424 GB, free: 331.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006016/2.791, allocations: 2.854 MB / 1.427 GB, free: 330.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01115/2.802, allocations: 1.435 MB / 1.429 GB, free: 330.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003056/2.805, allocations: 484.1 kB / 1.429 GB, free: 330.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/2.805, allocations: 0 / 1.429 GB, free: 330.2 MB / 0.948 GB Notification: Performance of Templates: time 0.2757/3.081, allocations: 109.8 MB / 1.536 GB, free: 259.3 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe 2>&1)