Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 93.47 kB / 20.21 MB, free: 4.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.603/1.603, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.024/1.024, allocations: 115 MB / 375.3 MB, free: 7.598 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.708e-05, allocations: 3.156 kB / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0151/0.01514, allocations: 15.68 MB / 496.4 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007681/0.02282, allocations: 4.935 MB / 0.4896 GB, free: 14.23 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006966/0.02352, allocations: 33.62 kB / 0.4897 GB, free: 14.21 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006949/0.02421, allocations: 189.1 kB / 0.4898 GB, free: 14.1 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.02641, allocations: 0.7408 MB / 0.4906 GB, free: 13.7 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.02882, allocations: 0.8284 MB / 0.4914 GB, free: 13.31 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002024/0.03085, allocations: 1.181 MB / 0.4925 GB, free: 12.77 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006308/0.03148, allocations: 265.9 kB / 0.4928 GB, free: 12.61 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.03307, allocations: 0.726 MB / 0.4935 GB, free: 12.32 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003882/0.03346, allocations: 214 kB / 0.4937 GB, free: 12.25 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.386e-05/0.03351, allocations: 19.41 kB / 0.4937 GB, free: 12.25 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.03458, allocations: 431.7 kB / 0.4941 GB, free: 12.14 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.03471, allocations: 76.5 kB / 0.4942 GB, free: 12.09 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.03493, allocations: 137.6 kB / 0.4943 GB, free: 12.04 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.03604, allocations: 0.6151 MB / 0.4949 GB, free: 11.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.03604, allocations: 0 / 0.4949 GB, free: 11.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.03605, allocations: 1.656 kB / 0.4949 GB, free: 11.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.03605, allocations: 0.9062 kB / 0.4949 GB, free: 11.82 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001289/0.03734, allocations: 0.8251 MB / 0.4957 GB, free: 11.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.03738, allocations: 9.781 kB / 0.4957 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.03751, allocations: 66.61 kB / 0.4958 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000973/0.03849, allocations: 453.5 kB / 0.4962 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.03852, allocations: 18.98 kB / 0.4963 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.03856, allocations: 32.39 kB / 0.4963 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.03896, allocations: 183.2 kB / 0.4965 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.03898, allocations: 1.828 kB / 0.4965 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.039, allocations: 9.25 kB / 0.4965 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.03901, allocations: 3.688 kB / 0.4965 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.03931, allocations: 102.8 kB / 0.4966 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.04065, allocations: 0.6876 MB / 0.4972 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.04091, allocations: 110.7 kB / 0.4974 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.04104, allocations: 55.62 kB / 0.4974 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.04123, allocations: 32.62 kB / 0.4974 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.04128, allocations: 37.42 kB / 0.4975 GB, free: 10.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.04128, allocations: 0 / 0.4975 GB, free: 10.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005394/0.04182, allocations: 196.2 kB / 0.4977 GB, free: 10.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.04187, allocations: 53.56 kB / 0.4977 GB, free: 9.945 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006008/0.04247, allocations: 0.5003 MB / 0.4982 GB, free: 9.516 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.04251, allocations: 35.17 kB / 0.4982 GB, free: 9.477 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.04275, allocations: 283.5 kB / 0.4985 GB, free: 9.215 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.0428, allocations: 42.09 kB / 0.4985 GB, free: 9.176 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.04291, allocations: 73.94 kB / 0.4986 GB, free: 9.102 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000321/0.04323, allocations: 0.5401 MB / 0.4991 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.04338, allocations: 59.84 kB / 0.4992 GB, free: 8.508 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.04381, allocations: 417.1 kB / 0.4996 GB, free: 7.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.04427, allocations: 307.2 kB / 0.4999 GB, free: 7.613 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.04427, allocations: 3.938 kB / 0.4999 GB, free: 7.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005291/0.0448, allocations: 292.9 kB / 0.5002 GB, free: 7.344 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.04483, allocations: 8 kB / 0.5002 GB, free: 7.336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.04484, allocations: 8.547 kB / 0.5002 GB, free: 7.328 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.04486, allocations: 9.5 kB / 0.5002 GB, free: 7.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.04509, allocations: 54.83 kB / 0.5003 GB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.04511, allocations: 13.23 kB / 0.5003 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.04531, allocations: 33.28 kB / 0.5003 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.04534, allocations: 17.78 kB / 0.5003 GB, free: 7.215 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002698/0.04561, allocations: 209.6 kB / 0.5005 GB, free: 7.016 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004381/0.04605, allocations: 423.8 kB / 0.5009 GB, free: 6.484 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000431/0.04648, allocations: 307.4 kB / 0.5012 GB, free: 6.117 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.04649, allocations: 0 / 0.5012 GB, free: 6.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0005201/0.04701, allocations: 278.8 kB / 0.5015 GB, free: 5.863 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.04702, allocations: 11.62 kB / 0.5015 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.04703, allocations: 4.609 kB / 0.5015 GB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.04704, allocations: 13.84 kB / 0.5015 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.04723, allocations: 58.88 kB / 0.5016 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.04724, allocations: 8.734 kB / 0.5016 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.04743, allocations: 29.58 kB / 0.5016 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.04746, allocations: 17.86 kB / 0.5016 GB, free: 5.738 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001964/0.04765, allocations: 288 kB / 0.5019 GB, free: 5.449 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.04773, allocations: 43.2 kB / 0.5019 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.0482, allocations: 186.5 kB / 0.5021 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.04821, allocations: 4.844 kB / 0.5021 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.04821, allocations: 0 / 0.5021 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.04822, allocations: 1.125 kB / 0.5021 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.04942, allocations: 0.6273 MB / 0.5027 GB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.04942, allocations: 1.188 kB / 0.5027 GB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.04952, allocations: 31.81 kB / 0.5028 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.04953, allocations: 0 / 0.5028 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.04954, allocations: 5.203 kB / 0.5028 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.04955, allocations: 2.469 kB / 0.5028 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.04955, allocations: 0 / 0.5028 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.05003, allocations: 356.7 kB / 0.5031 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.05015, allocations: 57.52 kB / 0.5032 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.05019, allocations: 1.875 kB / 0.5032 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.05032, allocations: 8.75 kB / 0.5032 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.05038, allocations: 13.28 kB / 0.5032 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.0504, allocations: 13.17 kB / 0.5032 GB, free: 4.152 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003778/0.05078, allocations: 321.8 kB / 0.5035 GB, free: 3.871 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05078, allocations: 0 / 0.5035 GB, free: 3.871 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007804/0.05156, allocations: 174 kB / 0.5037 GB, free: 3.703 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (14): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.0004504/0.05201, allocations: 181.8 kB / 0.5038 GB, free: 3.523 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000677/0.05269, allocations: 277.4 kB / 0.5041 GB, free: 3.277 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.05269, allocations: 0 / 0.5041 GB, free: 3.277 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.05287, allocations: 70.89 kB / 0.5042 GB, free: 3.215 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008163/0.05369, allocations: 152.5 kB / 0.5043 GB, free: 3.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.05487, allocations: 0.6336 MB / 0.5049 GB, free: 2.461 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.05515, allocations: 216.1 kB / 0.5051 GB, free: 2.281 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002522/0.0554, allocations: 85.62 kB / 0.5052 GB, free: 2.219 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/0.05547, allocations: 33.3 kB / 0.5053 GB, free: 2.188 MB / 426.7 MB Notification: Performance of SimCode: time 8.22e-07/0.05547, allocations: 0 / 0.5053 GB, free: 2.188 MB / 426.7 MB Notification: Performance of Templates: time 0.01539/0.07087, allocations: 5.826 MB / 0.5109 GB, free: 13.39 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.05859466502443]