Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009046/0.0009046, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.0009237/0.0009237, allocations: 172.9 kB / 25.18 MB, free: 8.918 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 0.9922/0.9922, allocations: 177.1 MB / 205.6 MB, free: 5.402 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.872/1.872, allocations: 389.6 MB / 0.6364 GB, free: 12.23 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.7755 GB, free: 6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.605e-05, allocations: 3.719 kB / 0.7755 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.00602/0.006036, allocations: 7.011 MB / 0.7824 GB, free: 15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.00877, allocations: 2.864 MB / 0.7852 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.008959, allocations: 29.19 kB / 0.7852 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.009283, allocations: 122.9 kB / 0.7853 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007081/0.009991, allocations: 0.5415 MB / 0.7858 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.01059, allocations: 464.7 kB / 0.7863 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008524/0.01144, allocations: 1.074 MB / 0.7873 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.01168, allocations: 221.7 kB / 0.7875 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007407/0.01242, allocations: 0.5574 MB / 0.7881 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.01258, allocations: 183.4 kB / 0.7883 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.01261, allocations: 17.59 kB / 0.7883 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004044/0.01301, allocations: 387.2 kB / 0.7887 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.01308, allocations: 67.62 kB / 0.7887 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.52e-05/0.01317, allocations: 107.7 kB / 0.7888 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.01365, allocations: 466.3 kB / 0.7893 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.01366, allocations: 0.5938 kB / 0.7893 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.41e-07/0.01366, allocations: 2.969 kB / 0.7893 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.01366, allocations: 0 / 0.7893 GB, free: 7.957 MB / 0.7448 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.0005686/0.01423, allocations: 0.6038 MB / 0.7899 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.01426, allocations: 13.34 kB / 0.7899 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.01431, allocations: 40.89 kB / 0.7899 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.01467, allocations: 351.3 kB / 0.7902 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.01468, allocations: 18.52 kB / 0.7903 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.0147, allocations: 19.94 kB / 0.7903 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.01488, allocations: 160.4 kB / 0.7904 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.01489, allocations: 0 / 0.7904 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.0149, allocations: 11.16 kB / 0.7904 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.0149, allocations: 4 kB / 0.7904 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.348e-05/0.01496, allocations: 39.86 kB / 0.7905 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.01541, allocations: 385 kB / 0.7909 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.527e-05/0.0155, allocations: 112 kB / 0.791 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.024e-05/0.01553, allocations: 27.69 kB / 0.791 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-05/0.01561, allocations: 15.98 kB / 0.791 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.01563, allocations: 38.5 kB / 0.791 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.01563, allocations: 0 / 0.791 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0001355/0.01576, allocations: 89.64 kB / 0.7911 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.01578, allocations: 52.97 kB / 0.7912 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.01593, allocations: 311.4 kB / 0.7915 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.01595, allocations: 29.7 kB / 0.7915 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.01601, allocations: 153.4 kB / 0.7916 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.01603, allocations: 48.83 kB / 0.7917 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.01608, allocations: 41.64 kB / 0.7917 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.01616, allocations: 346.7 kB / 0.7921 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.01619, allocations: 20.17 kB / 0.7921 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.01627, allocations: 202.4 kB / 0.7923 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.503e-05/0.01632, allocations: 58.97 kB / 0.7923 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01632, allocations: 0 / 0.7923 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.003e-05/0.01641, allocations: 91.94 kB / 0.7924 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.01642, allocations: 10.34 kB / 0.7924 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01643, allocations: 0.6875 kB / 0.7924 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.01644, allocations: 0.5625 kB / 0.7924 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/0.01651, allocations: 27.92 kB / 0.7925 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.01652, allocations: 5.016 kB / 0.7925 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.01657, allocations: 8 kB / 0.7925 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.01658, allocations: 8.875 kB / 0.7925 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.612e-05/0.01664, allocations: 101.8 kB / 0.7926 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.098e-05/0.01671, allocations: 203.1 kB / 0.7928 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.199e-05/0.01675, allocations: 52.19 kB / 0.7928 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.91e-07/0.01675, allocations: 0 / 0.7928 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 7.625e-05/0.01683, allocations: 92.34 kB / 0.7929 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.188e-06/0.01683, allocations: 4 kB / 0.7929 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-06/0.01683, allocations: 3.938 kB / 0.7929 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-06/0.01683, allocations: 4.875 kB / 0.7929 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.735e-05/0.01688, allocations: 19.98 kB / 0.7929 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-06/0.01688, allocations: 0.8125 kB / 0.7929 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.01693, allocations: 23.88 kB / 0.793 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.01693, allocations: 5.469 kB / 0.793 GB, free: 3.887 MB / 0.7448 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 6.396e-05/0.017, allocations: 192.1 kB / 0.7931 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.01702, allocations: 19.97 kB / 0.7932 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.01718, allocations: 127.9 kB / 0.7933 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.01718, allocations: 5 kB / 0.7933 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01719, allocations: 0 / 0.7933 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01719, allocations: 0 / 0.7933 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.01752, allocations: 466.3 kB / 0.7937 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.01752, allocations: 1.156 kB / 0.7937 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.01757, allocations: 31.92 kB / 0.7938 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.01757, allocations: 0 / 0.7938 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.01758, allocations: 4.938 kB / 0.7938 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01758, allocations: 4 kB / 0.7938 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.01759, allocations: 4.719 kB / 0.7938 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.01772, allocations: 261.3 kB / 0.794 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.01776, allocations: 48.69 kB / 0.7941 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.01778, allocations: 0 / 0.7941 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.259e-05/0.01784, allocations: 12.89 kB / 0.7941 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.01787, allocations: 15.86 kB / 0.7941 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.01788, allocations: 4 kB / 0.7941 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.685e-05/0.01796, allocations: 129.3 kB / 0.7942 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01796, allocations: 1 kB / 0.7942 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002487/0.01821, allocations: 155.5 kB / 0.7944 GB, free: 2.359 MB / 0.7448 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.0001981/0.0184, allocations: 150.1 kB / 0.7945 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.01881, allocations: 86.95 kB / 0.7946 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.01882, allocations: 4 kB / 0.7946 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.235e-05/0.01888, allocations: 45.45 kB / 0.7947 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.01934, allocations: 125.5 kB / 0.7948 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007484/0.02009, allocations: 0.579 MB / 0.7953 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.02021, allocations: 184.8 kB / 0.7955 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.02041, allocations: 156.2 kB / 0.7957 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/0.02041, allocations: 0 / 0.7957 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of Templates: time 0.004604/0.02501, allocations: 5.139 MB / 0.8007 GB, free: 11.96 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter > Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.885569526813924]