Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 111.3 kB / 17.33 MB, free: 5.043 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.001824/0.001824, allocations: 202.6 kB / 18.33 MB, free: 4.055 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.525/1.525, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8932/0.8932, allocations: 128.4 MB / 426.1 MB, free: 7.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 64.08 kB / 0.5912 GB, free: 21.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2099, allocations: 83.26 MB / 0.6725 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.5918/0.8017, allocations: 116.2 MB / 0.7859 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04268/0.8444, allocations: 26.62 MB / 0.8119 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007708/0.8521, allocations: 112.9 kB / 0.812 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004653/0.8568, allocations: 1.195 MB / 0.8132 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01281/0.8696, allocations: 3.567 MB / 0.8167 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008117/0.8777, allocations: 2.383 MB / 0.819 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01187/0.8896, allocations: 6.185 MB / 0.825 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003527/0.8931, allocations: 1.593 MB / 0.8266 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009236/0.9023, allocations: 2.841 MB / 0.8294 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004679/0.907, allocations: 1.811 MB / 0.8311 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007438/0.9077, allocations: 219.4 kB / 0.8314 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007257/0.915, allocations: 2.391 MB / 0.8337 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009116/0.9159, allocations: 0.5486 MB / 0.8342 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002893/0.9188, allocations: 1.288 MB / 0.8355 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01308/0.9319, allocations: 4.123 MB / 0.8395 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.9319, allocations: 4 kB / 0.8395 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.374e-06/0.9319, allocations: 0 / 0.8395 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.929e-05/0.932, allocations: 0 / 0.8395 GB, free: 2.668 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.007635/0.9396, allocations: 2.914 MB / 0.8424 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.9397, allocations: 12.09 kB / 0.8424 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008668/0.9405, allocations: 269.6 kB / 0.8426 GB, free: 392 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004874/0.9454, allocations: 2.168 MB / 0.8447 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.751e-05/0.9455, allocations: 102.7 kB / 0.8448 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/0.9457, allocations: 136 kB / 0.845 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/0.9485, allocations: 1.458 MB / 0.8464 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.9485, allocations: 0 / 0.8464 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.9487, allocations: 65.06 kB / 0.8465 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/0.9487, allocations: 35.94 kB / 0.8465 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.9508, allocations: 1.021 MB / 0.8475 GB, free: 11.46 MB / 0.6075 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.01153/0.9623, allocations: 8.305 MB / 0.8556 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.9639, allocations: 0.7806 MB / 0.8564 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006076/0.9645, allocations: 340.5 kB / 0.8567 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002706/0.9672, allocations: 2.807 MB / 0.8594 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.9673, allocations: 47.2 kB / 0.8595 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=85): time 2.495e-06/0.9673, allocations: 0 / 0.8595 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=85): time 0.0028/0.9701, allocations: 1.137 MB / 0.8606 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.9701, allocations: 64 kB / 0.8606 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.9727, allocations: 1.618 MB / 0.8622 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.9728, allocations: 41.7 kB / 0.8623 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.9738, allocations: 0.9451 MB / 0.8632 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000392/0.9742, allocations: 321.3 kB / 0.8635 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003892/0.9746, allocations: 234.8 kB / 0.8637 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000264/0.9749, allocations: 349.9 kB / 0.8641 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006344/0.9755, allocations: 329.9 kB / 0.8644 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.9766, allocations: 0.7033 MB / 0.8651 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.9784, allocations: 1.085 MB / 0.8661 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.9784, allocations: 7.938 kB / 0.8661 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002598/0.981, allocations: 1.254 MB / 0.8673 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.981, allocations: 8 kB / 0.8674 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.615e-05/0.9811, allocations: 16 kB / 0.8674 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.943e-05/0.9811, allocations: 16 kB / 0.8674 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008592/0.982, allocations: 264.6 kB / 0.8676 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.61e-05/0.982, allocations: 31.8 kB / 0.8677 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.9833, allocations: 139 kB / 0.8678 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.9834, allocations: 67.97 kB / 0.8679 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001277/0.9847, allocations: 0.6236 MB / 0.8685 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001108/0.9858, allocations: 0.6994 MB / 0.8692 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001909/0.9877, allocations: 1.085 MB / 0.8702 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.162e-06/0.9877, allocations: 4 kB / 0.8702 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002438/0.9901, allocations: 1.25 MB / 0.8714 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.9902, allocations: 8 kB / 0.8714 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-05/0.9902, allocations: 24.77 kB / 0.8715 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.9902, allocations: 16 kB / 0.8715 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000875/0.9911, allocations: 267.5 kB / 0.8717 GB, free: 492 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.798e-05/0.9911, allocations: 24.81 kB / 0.8718 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.9923, allocations: 107.3 kB / 0.8719 GB, free: 360 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.9924, allocations: 63.98 kB / 0.8719 GB, free: 296 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003517/0.9927, allocations: 255.9 kB / 0.8722 GB, free: 32 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003801/0.9931, allocations: 202.7 kB / 0.8724 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/0.9965, allocations: 1.734 MB / 0.8741 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.712e-05/0.9965, allocations: 19.98 kB / 0.8741 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.9965, allocations: 7.938 kB / 0.8741 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001893/0.9984, allocations: 1.138 MB / 0.8752 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006044/1.004, allocations: 3.49 MB / 0.8786 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.728e-05/1.004, allocations: 12 kB / 0.8786 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007432/1.005, allocations: 204.2 kB / 0.8788 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-05/1.005, allocations: 12 kB / 0.8788 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-05/1.005, allocations: 43.98 kB / 0.8789 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.875e-05/1.005, allocations: 12 kB / 0.8789 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/1.005, allocations: 15.92 kB / 0.8789 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/1.009, allocations: 2.239 MB / 0.8811 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009197/1.01, allocations: 447.2 kB / 0.8815 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/1.01, allocations: 32 kB / 0.8815 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000858/1.011, allocations: 47.97 kB / 0.8816 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/1.011, allocations: 116.7 kB / 0.8817 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.011, allocations: 59.97 kB / 0.8817 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001932/1.013, allocations: 1.091 MB / 0.8828 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/1.013, allocations: 0 / 0.8828 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003584/1.017, allocations: 1.146 MB / 0.8839 GB, free: 3.633 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.002012/1.019, allocations: 0.8132 MB / 0.8847 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003485/1.023, allocations: 1.738 MB / 0.8864 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.023, allocations: 4 kB / 0.8864 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/1.024, allocations: 0.7635 MB / 0.8872 GB, free: 252 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004448/1.028, allocations: 0.9645 MB / 0.8881 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006454/1.035, allocations: 3.624 MB / 0.8917 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/1.036, allocations: 1.436 MB / 0.8931 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001974/1.038, allocations: 0.5388 MB / 0.8936 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004325/1.038, allocations: 191.3 kB / 0.8938 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of SimCode: time 9.41e-07/1.038, allocations: 0 / 0.8938 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of Templates: time 0.08283/1.121, allocations: 43.91 MB / 0.9367 GB, free: 13.88 MB / 0.7012 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) [Timeout 480]