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.0009557/0.0009557, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001018/0.001018, allocations: 169.6 kB / 24.84 MB, free: 9.309 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.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.6224/0.6224, allocations: 115 MB / 376.8 MB, free: 7.477 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.553e-06/1.553e-06, allocations: 0 / 482.7 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.908e-05, allocations: 5.375 kB / 482.7 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.008084/0.008103, allocations: 7.058 MB / 489.8 MB, free: 6.965 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.01214, allocations: 3.766 MB / 493.6 MB, free: 4.492 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003892/0.01252, allocations: 34.44 kB / 493.6 MB, free: 4.477 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.0129, allocations: 127.4 kB / 493.7 MB, free: 4.406 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.01393, allocations: 0.5738 MB / 494.3 MB, free: 4.078 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.01547, allocations: 0.7962 MB / 495.1 MB, free: 3.711 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.01674, allocations: 1.148 MB / 496.2 MB, free: 3.191 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003643/0.01711, allocations: 272.9 kB / 496.5 MB, free: 3.023 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007382/0.01785, allocations: 0.6187 MB / 497.1 MB, free: 2.797 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.01812, allocations: 211.2 kB / 497.3 MB, free: 2.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/0.01817, allocations: 18.19 kB / 497.3 MB, free: 2.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005482/0.01871, allocations: 370.1 kB / 497.7 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.0188, allocations: 86.91 kB / 497.8 MB, free: 2.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.01892, allocations: 125.9 kB / 497.9 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.01948, allocations: 489.9 kB / 498.4 MB, free: 2.363 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01949, allocations: 0 / 498.4 MB, free: 2.363 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01949, allocations: 0.9375 kB / 498.4 MB, free: 2.363 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.0195, allocations: 1.125 kB / 498.4 MB, free: 2.363 MB / 410.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.0007114/0.02021, allocations: 0.8001 MB / 499.2 MB, free: 1.707 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.02024, allocations: 10.59 kB / 499.2 MB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.715e-05/0.02034, allocations: 65.83 kB / 499.3 MB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.02078, allocations: 404.7 kB / 499.7 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.0208, allocations: 18.58 kB / 499.7 MB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.02082, allocations: 25.91 kB / 499.7 MB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.02102, allocations: 152.6 kB / 499.8 MB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.02103, allocations: 3.812 kB / 499.9 MB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.02104, allocations: 9.094 kB / 499.9 MB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.02105, allocations: 8.516 kB / 499.9 MB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.02112, allocations: 42.62 kB / 499.9 MB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.02173, allocations: 0.5632 MB / 0.4887 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.02183, allocations: 73.36 kB / 0.4888 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.02187, allocations: 29.52 kB / 0.4888 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.679e-05/0.02194, allocations: 14.12 kB / 0.4889 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.02196, allocations: 43.47 kB / 0.4889 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.02196, allocations: 0.8438 kB / 0.4889 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002116/0.02218, allocations: 136.2 kB / 0.489 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/0.02219, allocations: 54.59 kB / 0.4891 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.02243, allocations: 431 kB / 0.4895 GB, free: 420 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.02245, allocations: 31.92 kB / 0.4895 GB, free: 384 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.02256, allocations: 272.2 kB / 0.4898 GB, free: 144 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.02258, allocations: 38.72 kB / 0.4898 GB, free: 112 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/0.02265, allocations: 67.72 kB / 0.4899 GB, free: 68 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.02283, allocations: 0.5273 MB / 0.4904 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.02287, allocations: 31.84 kB / 0.4904 GB, free: 15.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.02308, allocations: 392.3 kB / 0.4908 GB, free: 15.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.02328, allocations: 251.1 kB / 0.491 GB, free: 14.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02328, allocations: 1.094 kB / 0.491 GB, free: 14.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002694/0.02355, allocations: 244.7 kB / 0.4913 GB, free: 14.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.02357, allocations: 6.375 kB / 0.4913 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.02358, allocations: 5.469 kB / 0.4913 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.02359, allocations: 10.78 kB / 0.4913 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.02373, allocations: 59.22 kB / 0.4914 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.02375, allocations: 11.48 kB / 0.4914 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.02385, allocations: 32.17 kB / 0.4914 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.02388, allocations: 13.48 kB / 0.4914 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.977e-05/0.02398, allocations: 151.2 kB / 0.4916 GB, free: 14.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001958/0.02417, allocations: 392 kB / 0.4919 GB, free: 14.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001658/0.02434, allocations: 260.3 kB / 0.4922 GB, free: 13.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.02434, allocations: 2 kB / 0.4922 GB, free: 13.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0002414/0.02458, allocations: 227.7 kB / 0.4924 GB, free: 13.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.02459, allocations: 7.938 kB / 0.4924 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.0246, allocations: 8.25 kB / 0.4924 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.0246, allocations: 6.781 kB / 0.4924 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.02471, allocations: 56.94 kB / 0.4925 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.02472, allocations: 11.41 kB / 0.4925 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.39e-05/0.02482, allocations: 28.16 kB / 0.4925 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.02483, allocations: 15.22 kB / 0.4925 GB, free: 13.62 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.0001182/0.02495, allocations: 291.1 kB / 0.4928 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.025, allocations: 47.34 kB / 0.4928 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.0252, allocations: 145.3 kB / 0.493 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.02521, allocations: 7.109 kB / 0.493 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.02521, allocations: 0 / 0.493 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.02522, allocations: 1.5 kB / 0.493 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.02568, allocations: 485 kB / 0.4935 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.02568, allocations: 1.453 kB / 0.4935 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.053e-05/0.02574, allocations: 21.95 kB / 0.4935 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.02574, allocations: 6.125 kB / 0.4935 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.02575, allocations: 7.219 kB / 0.4935 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.02575, allocations: 2.641 kB / 0.4935 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.02576, allocations: 5.156 kB / 0.4935 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.02596, allocations: 304.4 kB / 0.4938 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.02602, allocations: 52.81 kB / 0.4938 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.02604, allocations: 7.047 kB / 0.4938 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.02612, allocations: 15.11 kB / 0.4939 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.02615, allocations: 9.656 kB / 0.4939 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.02617, allocations: 12.8 kB / 0.4939 GB, free: 12.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.02634, allocations: 275.3 kB / 0.4941 GB, free: 12.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02634, allocations: 0 / 0.4941 GB, free: 12.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004588/0.0268, allocations: 158.6 kB / 0.4943 GB, free: 12.36 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.0002346/0.02703, allocations: 156.8 kB / 0.4944 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.02731, allocations: 199.5 kB / 0.4946 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.02731, allocations: 0 / 0.4946 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.564e-05/0.02738, allocations: 46.34 kB / 0.4947 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.02787, allocations: 146.6 kB / 0.4948 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009258/0.0288, allocations: 0.6253 MB / 0.4954 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.723e-05/0.02888, allocations: 110.6 kB / 0.4955 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.02906, allocations: 62.95 kB / 0.4956 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.02933, allocations: 194.2 kB / 0.4958 GB, free: 11.54 MB / 426.7 MB Notification: Performance of SimCode: time 9.61e-07/0.02933, allocations: 0 / 0.4958 GB, free: 11.54 MB / 426.7 MB Notification: Performance of Templates: time 0.0104/0.03973, allocations: 6.175 MB / 0.5018 GB, free: 8.168 MB / 426.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.6356005799025297]