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.001253/0.001253, allocations: 84.22 kB / 20.94 MB, free: 3.598 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.001292/0.001292, allocations: 165 kB / 24.25 MB, free: 300 kB / 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.018/1.018, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6255/0.6255, allocations: 114.9 MB / 376 MB, free: 7.648 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.744e-06/1.744e-06, allocations: 0 / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.403e-05, allocations: 2.312 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01082/0.01084, allocations: 15.76 MB / 497.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004827/0.01567, allocations: 4.922 MB / 0.4904 GB, free: 14.25 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.01592, allocations: 34.28 kB / 0.4904 GB, free: 14.23 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.01633, allocations: 195.1 kB / 0.4906 GB, free: 14.11 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.01751, allocations: 0.7476 MB / 0.4913 GB, free: 13.7 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.0188, allocations: 0.8228 MB / 0.4921 GB, free: 13.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.02029, allocations: 1.185 MB / 0.4933 GB, free: 12.77 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.02063, allocations: 260 kB / 0.4936 GB, free: 12.62 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.02165, allocations: 0.7251 MB / 0.4943 GB, free: 12.33 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.02197, allocations: 211.6 kB / 0.4945 GB, free: 12.26 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.02201, allocations: 19.81 kB / 0.4945 GB, free: 12.26 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006721/0.02268, allocations: 439 kB / 0.4949 GB, free: 12.14 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.974e-05/0.02277, allocations: 86.59 kB / 0.495 GB, free: 12.09 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.02291, allocations: 128.5 kB / 0.4951 GB, free: 12.04 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007344/0.02365, allocations: 0.5232 MB / 0.4956 GB, free: 11.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.02365, allocations: 1.156 kB / 0.4956 GB, free: 11.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02365, allocations: 0.5 kB / 0.4956 GB, free: 11.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.02366, allocations: 3.438 kB / 0.4956 GB, free: 11.84 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.0008576/0.02452, allocations: 0.8019 MB / 0.4964 GB, free: 11.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.02455, allocations: 9.469 kB / 0.4964 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.778e-05/0.02465, allocations: 71.41 kB / 0.4965 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006319/0.02528, allocations: 442.1 kB / 0.4969 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.0253, allocations: 18.36 kB / 0.4969 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.02533, allocations: 25.66 kB / 0.4969 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.02557, allocations: 163.6 kB / 0.4971 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.02558, allocations: 3.938 kB / 0.4971 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.02559, allocations: 6.125 kB / 0.4971 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.0256, allocations: 4.562 kB / 0.4971 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.0257, allocations: 54.45 kB / 0.4972 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007871/0.02649, allocations: 0.6249 MB / 0.4978 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.02662, allocations: 85.66 kB / 0.4979 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.02668, allocations: 38.19 kB / 0.4979 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.02678, allocations: 32.69 kB / 0.4979 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.02681, allocations: 37.09 kB / 0.498 GB, free: 10.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.02681, allocations: 0 / 0.498 GB, free: 10.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002667/0.02707, allocations: 144.1 kB / 0.4981 GB, free: 10.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.02711, allocations: 56.69 kB / 0.4982 GB, free: 10.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.02749, allocations: 436 kB / 0.4986 GB, free: 9.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.02752, allocations: 31.73 kB / 0.4986 GB, free: 9.785 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.02766, allocations: 263.1 kB / 0.4989 GB, free: 9.562 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.02769, allocations: 48.44 kB / 0.4989 GB, free: 9.527 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-05/0.02777, allocations: 72.14 kB / 0.499 GB, free: 9.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.02794, allocations: 0.5192 MB / 0.4995 GB, free: 8.973 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.979e-05/0.028, allocations: 36.56 kB / 0.4995 GB, free: 8.953 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.0282, allocations: 391.3 kB / 0.4999 GB, free: 8.484 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.0284, allocations: 264.9 kB / 0.5001 GB, free: 8.203 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.0284, allocations: 2.266 kB / 0.5001 GB, free: 8.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002741/0.02868, allocations: 252.9 kB / 0.5004 GB, free: 7.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.02869, allocations: 7.25 kB / 0.5004 GB, free: 7.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.0287, allocations: 13.16 kB / 0.5004 GB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.02871, allocations: 4 kB / 0.5004 GB, free: 7.965 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.02885, allocations: 59.02 kB / 0.5005 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.02886, allocations: 14.14 kB / 0.5005 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.02897, allocations: 24.97 kB / 0.5005 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.02899, allocations: 18.08 kB / 0.5005 GB, free: 7.863 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001006/0.02909, allocations: 156.4 kB / 0.5007 GB, free: 7.711 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000192/0.02928, allocations: 398.6 kB / 0.501 GB, free: 7.199 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001726/0.02945, allocations: 264.6 kB / 0.5013 GB, free: 6.867 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.02945, allocations: 0.75 kB / 0.5013 GB, free: 6.867 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0002515/0.02971, allocations: 237.4 kB / 0.5015 GB, free: 6.648 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.242e-06/0.02971, allocations: 5.5 kB / 0.5015 GB, free: 6.645 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.02972, allocations: 8 kB / 0.5015 GB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.112e-06/0.02973, allocations: 11.34 kB / 0.5015 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.02982, allocations: 62.86 kB / 0.5016 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.02983, allocations: 9.359 kB / 0.5016 GB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.667e-05/0.02992, allocations: 25.11 kB / 0.5016 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.02993, allocations: 12.56 kB / 0.5016 GB, free: 6.531 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.0001048/0.03004, allocations: 288.7 kB / 0.5019 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.03008, allocations: 47.72 kB / 0.502 GB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.0303, allocations: 157.2 kB / 0.5021 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.03031, allocations: 5.328 kB / 0.5021 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.03031, allocations: 0.5312 kB / 0.5021 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.03032, allocations: 2.344 kB / 0.5021 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005752/0.03089, allocations: 0.542 MB / 0.5027 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.0309, allocations: 0 / 0.5027 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.03095, allocations: 29.7 kB / 0.5027 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.03096, allocations: 0 / 0.5027 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.03097, allocations: 4.609 kB / 0.5027 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.03097, allocations: 0.6562 kB / 0.5027 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.03097, allocations: 0 / 0.5027 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.03117, allocations: 333.8 kB / 0.503 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.03123, allocations: 54.61 kB / 0.5031 GB, free: 5.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.03125, allocations: 0.6562 kB / 0.5031 GB, free: 5.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.03132, allocations: 13.38 kB / 0.5031 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.03136, allocations: 13.39 kB / 0.5031 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.03137, allocations: 8.703 kB / 0.5031 GB, free: 5.062 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001792/0.03155, allocations: 278 kB / 0.5034 GB, free: 4.824 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03155, allocations: 0 / 0.5034 GB, free: 4.824 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004477/0.032, allocations: 173.6 kB / 0.5035 GB, free: 4.656 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.0002444/0.03224, allocations: 186.2 kB / 0.5037 GB, free: 4.477 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.03252, allocations: 212.8 kB / 0.5039 GB, free: 4.289 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.03252, allocations: 0 / 0.5039 GB, free: 4.289 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.681e-05/0.03259, allocations: 51.44 kB / 0.504 GB, free: 4.242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.03307, allocations: 144.7 kB / 0.5041 GB, free: 4.129 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.03414, allocations: 0.6201 MB / 0.5047 GB, free: 3.504 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.314e-05/0.03422, allocations: 109.1 kB / 0.5048 GB, free: 3.398 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.03441, allocations: 81.25 kB / 0.5049 GB, free: 3.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.03446, allocations: 33.39 kB / 0.5049 GB, free: 3.309 MB / 426.7 MB Notification: Performance of SimCode: time 1.312e-06/0.03446, allocations: 0 / 0.5049 GB, free: 3.309 MB / 426.7 MB Notification: Performance of Templates: time 0.009057/0.04352, allocations: 5.845 MB / 0.5106 GB, free: 14.45 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: 3.849632360972464]