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.0009789/0.0009789, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.0009312/0.0009312, allocations: 173 kB / 24.15 MB, free: 356 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.102/1.102, allocations: 177.2 MB / 204.6 MB, free: 5.324 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.6388/0.6388, allocations: 115 MB / 376 MB, free: 7.379 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.312e-06/1.312e-06, allocations: 0 / 428.7 MB, free: 2.809 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.155e-05, allocations: 2.312 kB / 428.7 MB, free: 2.805 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.006081/0.006092, allocations: 7.093 MB / 435.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004222/0.01031, allocations: 3.837 MB / 439.6 MB, free: 7.824 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.01059, allocations: 31.75 kB / 439.7 MB, free: 7.793 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.01093, allocations: 138.8 kB / 439.8 MB, free: 7.656 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008854/0.01181, allocations: 0.5594 MB / 440.4 MB, free: 7.094 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.01307, allocations: 0.8059 MB / 441.2 MB, free: 6.285 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.01413, allocations: 1.149 MB / 442.3 MB, free: 5.133 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.01442, allocations: 270.2 kB / 442.6 MB, free: 4.863 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006267/0.01504, allocations: 0.6118 MB / 443.2 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.01524, allocations: 195.3 kB / 443.4 MB, free: 4.059 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.01527, allocations: 20 kB / 443.4 MB, free: 4.039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004705/0.01574, allocations: 375.1 kB / 443.8 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.019e-05/0.01582, allocations: 79.56 kB / 443.8 MB, free: 3.594 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.01593, allocations: 135.6 kB / 444 MB, free: 3.461 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006949/0.01663, allocations: 486.2 kB / 444.4 MB, free: 2.984 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01663, allocations: 4 kB / 444.4 MB, free: 2.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01663, allocations: 0 / 444.4 MB, free: 2.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.01664, allocations: 3.984 kB / 444.5 MB, free: 2.977 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.0006066/0.01724, allocations: 0.6658 MB / 445.1 MB, free: 2.285 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.01727, allocations: 8.031 kB / 445.1 MB, free: 2.277 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.01733, allocations: 48.89 kB / 445.2 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.01775, allocations: 391.4 kB / 445.6 MB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.01777, allocations: 24.27 kB / 445.6 MB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.0178, allocations: 24 kB / 445.6 MB, free: 1.773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.01799, allocations: 161.1 kB / 445.8 MB, free: 1.602 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.018, allocations: 0 / 445.8 MB, free: 1.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.01801, allocations: 12 kB / 445.8 MB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.01802, allocations: 4 kB / 445.8 MB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.057e-05/0.01808, allocations: 43.91 kB / 445.8 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006452/0.01873, allocations: 412.9 kB / 446.2 MB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.01884, allocations: 113.2 kB / 446.3 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.01888, allocations: 23.69 kB / 446.4 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-05/0.01896, allocations: 19.98 kB / 446.4 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.01898, allocations: 30.56 kB / 446.4 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.01898, allocations: 4 kB / 446.4 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001829/0.01917, allocations: 97.58 kB / 446.5 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.01919, allocations: 59.34 kB / 446.6 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.01944, allocations: 371.2 kB / 446.9 MB, free: 372 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.01946, allocations: 29.7 kB / 447 MB, free: 336 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.89e-05/0.01955, allocations: 177.6 kB / 447.1 MB, free: 152 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.01958, allocations: 47.56 kB / 447.2 MB, free: 104 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.944e-05/0.01965, allocations: 65.66 kB / 447.2 MB, free: 32 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2097/0.2293, allocations: 349 kB / 447.6 MB, free: 21.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.594e-05/0.2294, allocations: 29.06 kB / 447.6 MB, free: 21.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.2295, allocations: 319.8 kB / 447.9 MB, free: 20.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.2297, allocations: 214.8 kB / 448.1 MB, free: 20.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2297, allocations: 1.031 kB / 448.1 MB, free: 20.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002901/0.23, allocations: 191.4 kB / 448.3 MB, free: 20.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.23, allocations: 6.75 kB / 448.3 MB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.23, allocations: 4.344 kB / 448.3 MB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.2301, allocations: 6.469 kB / 448.3 MB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.2303, allocations: 61.44 kB / 448.4 MB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2303, allocations: 9.938 kB / 448.4 MB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.2304, allocations: 29.52 kB / 448.4 MB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.2304, allocations: 11.11 kB / 448.4 MB, free: 20.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.379e-05/0.2305, allocations: 115.3 kB / 448.6 MB, free: 20.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.961e-05/0.2306, allocations: 325.7 kB / 448.9 MB, free: 20.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001275/0.2308, allocations: 207 kB / 449.1 MB, free: 19.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.315e-06/0.2308, allocations: 7.141 kB / 449.1 MB, free: 19.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0002074/0.231, allocations: 191 kB / 449.3 MB, free: 19.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.196e-06/0.231, allocations: 7.781 kB / 449.3 MB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.231, allocations: 7.438 kB / 449.3 MB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.231, allocations: 3.156 kB / 449.3 MB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.2311, allocations: 62.34 kB / 449.3 MB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2311, allocations: 7.781 kB / 449.4 MB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.2312, allocations: 25.92 kB / 449.4 MB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.2313, allocations: 12.61 kB / 449.4 MB, free: 19.91 MB / 410.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 7.069e-05/0.2313, allocations: 207.7 kB / 449.6 MB, free: 19.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.2314, allocations: 26.11 kB / 449.6 MB, free: 19.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.2316, allocations: 124.5 kB / 449.7 MB, free: 19.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.2316, allocations: 4.156 kB / 449.7 MB, free: 19.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.2316, allocations: 1.5 kB / 449.8 MB, free: 19.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2316, allocations: 0.7969 kB / 449.8 MB, free: 19.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.232, allocations: 472.5 kB / 450.2 MB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.232, allocations: 4.016 kB / 450.2 MB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/0.2321, allocations: 23.91 kB / 450.2 MB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2321, allocations: 3.609 kB / 450.2 MB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.2321, allocations: 4.828 kB / 450.2 MB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2321, allocations: 0.5312 kB / 450.2 MB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2321, allocations: 2.812 kB / 450.3 MB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.2323, allocations: 274.8 kB / 450.5 MB, free: 19.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.2323, allocations: 54.12 kB / 450.6 MB, free: 19.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.2323, allocations: 5.781 kB / 450.6 MB, free: 19.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2324, allocations: 8.812 kB / 450.6 MB, free: 19.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.2325, allocations: 15.52 kB / 450.6 MB, free: 19.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.2325, allocations: 2.016 kB / 450.6 MB, free: 19.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.2326, allocations: 163.9 kB / 450.8 MB, free: 19.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2326, allocations: 0 / 450.8 MB, free: 19.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000504/0.2331, allocations: 157.2 kB / 450.9 MB, free: 19.16 MB / 410.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.0002103/0.2333, allocations: 138.1 kB / 451.1 MB, free: 19.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.2336, allocations: 184.5 kB / 451.2 MB, free: 19.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.2336, allocations: 9.25 kB / 451.2 MB, free: 19.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.693e-05/0.2336, allocations: 45.59 kB / 451.3 MB, free: 19.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.2341, allocations: 134.5 kB / 451.4 MB, free: 19.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008958/0.235, allocations: 0.6284 MB / 452 MB, free: 18.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.439e-05/0.2351, allocations: 107.4 kB / 452.2 MB, free: 18.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.2353, allocations: 60.73 kB / 452.2 MB, free: 18.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.2355, allocations: 158.9 kB / 452.4 MB, free: 18.59 MB / 410.7 MB Notification: Performance of SimCode: time 5.82e-07/0.2355, allocations: 0.5312 kB / 452.4 MB, free: 18.59 MB / 410.7 MB Notification: Performance of Templates: time 0.009771/0.2453, allocations: 6.029 MB / 458.4 MB, free: 18.12 MB / 410.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.6887378147803247]