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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 121.2 kB / 17.81 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 193.5 kB / 20.75 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8064/0.8064, allocations: 128.4 MB / 432.4 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] 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.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 0.001864/0.001864, allocations: 71.88 kB / 0.5987 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3214, allocations: 83.26 MB / 0.68 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01449/0.3359, allocations: 15.16 MB / 0.6948 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005716/0.3416, allocations: 3.898 MB / 0.6986 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00045/0.342, allocations: 18.12 kB / 0.6986 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005718/0.3426, allocations: 203.5 kB / 0.6988 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.3443, allocations: 0.7064 MB / 0.6995 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.3455, allocations: 468.5 kB / 0.7 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.347, allocations: 1.07 MB / 0.701 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003966/0.3474, allocations: 254.4 kB / 0.7013 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008183/0.3482, allocations: 469 kB / 0.7017 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.3486, allocations: 266.7 kB / 0.702 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.3486, allocations: 20.81 kB / 0.702 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.3498, allocations: 0.7233 MB / 0.7027 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.3499, allocations: 79.59 kB / 0.7028 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.3501, allocations: 187.2 kB / 0.7029 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.3512, allocations: 0.7234 MB / 0.7037 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3512, allocations: 4 kB / 0.7037 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3512, allocations: 0 / 0.7037 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3512, allocations: 0 / 0.7037 GB, free: 4.453 MB / 0.5137 GB 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.001161/0.3524, allocations: 0.7577 MB / 0.7044 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.3524, allocations: 9.625 kB / 0.7044 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.3525, allocations: 45.28 kB / 0.7045 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009735/0.3535, allocations: 0.5128 MB / 0.705 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3535, allocations: 12.58 kB / 0.705 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.3535, allocations: 16.38 kB / 0.705 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.3539, allocations: 175.7 kB / 0.7051 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3539, allocations: 0 / 0.7051 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.3539, allocations: 13.38 kB / 0.7052 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.3539, allocations: 8.109 kB / 0.7052 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.3543, allocations: 141 kB / 0.7053 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.3554, allocations: 0.8643 MB / 0.7061 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.3557, allocations: 113.4 kB / 0.7063 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.3558, allocations: 71.59 kB / 0.7063 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/0.3562, allocations: 338.3 kB / 0.7066 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.3562, allocations: 35.81 kB / 0.7067 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.3562, allocations: 1.281 kB / 0.7067 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.000566/0.3568, allocations: 212.6 kB / 0.7069 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.3568, allocations: 56.38 kB / 0.7069 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.3572, allocations: 348.9 kB / 0.7073 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3572, allocations: 34.83 kB / 0.7073 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.3573, allocations: 194.3 kB / 0.7075 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.3574, allocations: 45.2 kB / 0.7075 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-05/0.3574, allocations: 35.14 kB / 0.7076 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3576, allocations: 337.5 kB / 0.7079 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.3578, allocations: 54.06 kB / 0.7079 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.3579, allocations: 94.62 kB / 0.708 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.3582, allocations: 115.1 kB / 0.7081 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3582, allocations: 0 / 0.7081 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003758/0.3586, allocations: 185.6 kB / 0.7083 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3586, allocations: 4.469 kB / 0.7083 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3586, allocations: 1.344 kB / 0.7083 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3586, allocations: 5.344 kB / 0.7083 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.3588, allocations: 22.67 kB / 0.7083 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3588, allocations: 5.062 kB / 0.7084 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.359, allocations: 24.47 kB / 0.7084 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.359, allocations: 8.703 kB / 0.7084 GB, free: 476 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002229/0.3592, allocations: 154 kB / 0.7085 GB, free: 356 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001625/0.3594, allocations: 93.62 kB / 0.7086 GB, free: 280 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002603/0.3596, allocations: 112.2 kB / 0.7087 GB, free: 216 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.3596, allocations: 1.25 kB / 0.7087 GB, free: 216 kB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003481/0.36, allocations: 171 kB / 0.7089 GB, free: 116 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.36, allocations: 13.17 kB / 0.7089 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.36, allocations: 1.531 kB / 0.7089 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/0.36, allocations: 3.984 kB / 0.7089 GB, free: 104 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.3601, allocations: 30.95 kB / 0.7089 GB, free: 92 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-06/0.3601, allocations: 1.625 kB / 0.7089 GB, free: 92 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.3603, allocations: 16.84 kB / 0.709 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.3603, allocations: 8.906 kB / 0.709 GB, free: 80 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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.0001385/0.3604, allocations: 187.5 kB / 0.7091 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.3605, allocations: 41.58 kB / 0.7092 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005004/0.361, allocations: 228.9 kB / 0.7094 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.361, allocations: 2.594 kB / 0.7094 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.361, allocations: 96 / 0.7094 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.361, allocations: 3.938 kB / 0.7094 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009329/0.362, allocations: 0.6379 MB / 0.71 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.362, allocations: 1.156 kB / 0.71 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.3621, allocations: 24.08 kB / 0.7101 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3621, allocations: 1.469 kB / 0.7101 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3621, allocations: 1.656 kB / 0.7101 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.3621, allocations: 6.672 kB / 0.7101 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3621, allocations: 1.125 kB / 0.7101 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/0.3625, allocations: 325.7 kB / 0.7104 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.3627, allocations: 127.2 kB / 0.7105 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.3627, allocations: 2.438 kB / 0.7105 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.3629, allocations: 19.11 kB / 0.7105 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.363, allocations: 12.89 kB / 0.7105 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.363, allocations: 9.094 kB / 0.7105 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000259/0.3632, allocations: 247.6 kB / 0.7108 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.3632, allocations: 0 / 0.7108 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006042/0.3638, allocations: 192.9 kB / 0.711 GB, free: 14.57 MB / 0.5294 GB 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.0005244/0.3644, allocations: 252.3 kB / 0.7112 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005187/0.3649, allocations: 176.8 kB / 0.7114 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3649, allocations: 0 / 0.7114 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.3651, allocations: 85.39 kB / 0.7115 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007989/0.3659, allocations: 146.8 kB / 0.7116 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000927/0.3668, allocations: 0.6013 MB / 0.7122 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.3672, allocations: 0.7919 MB / 0.713 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.3673, allocations: 31.42 kB / 0.713 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.3673, allocations: 0 / 0.713 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of Templates: time 0.009127/0.3764, allocations: 5.819 MB / 0.7187 GB, free: 7.02 MB / 0.5294 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.217748232884333] Failed to read output from testmodel.py, exit status != 0: 0.38424960779957473 0.39655671800000003 0.042617179000000005 Calling exit ...