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.0009346/0.0009346, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.0009744/0.0009744, allocations: 164.1 kB / 25.05 MB, free: 8.73 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.9337/0.9337, allocations: 177.1 MB / 205.5 MB, free: 5.473 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.844/1.844, allocations: 389.6 MB / 0.6363 GB, free: 12.28 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.543e-06/1.543e-06, allocations: 0 / 0.7761 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.223e-05, allocations: 3.906 kB / 0.7761 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01908/0.0191, allocations: 7.018 MB / 0.783 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006357/0.02545, allocations: 2.864 MB / 0.7858 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.02566, allocations: 31.75 kB / 0.7858 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.02596, allocations: 123.6 kB / 0.7859 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007442/0.02671, allocations: 0.5321 MB / 0.7864 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006681/0.02738, allocations: 474.6 kB / 0.7869 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008672/0.02824, allocations: 1.066 MB / 0.7879 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.0285, allocations: 225.7 kB / 0.7881 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/0.029, allocations: 0.5489 MB / 0.7887 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.02916, allocations: 180.8 kB / 0.7889 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.02919, allocations: 19.94 kB / 0.7889 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.02962, allocations: 392.6 kB / 0.7892 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.02968, allocations: 67.62 kB / 0.7893 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.779e-05/0.02976, allocations: 111.7 kB / 0.7894 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.03015, allocations: 462.3 kB / 0.7899 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.03015, allocations: 1.5 kB / 0.7899 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.03016, allocations: 0 / 0.7899 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.03016, allocations: 0 / 0.7899 GB, free: 7.238 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.0004976/0.03066, allocations: 0.6015 MB / 0.7904 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.549e-05/0.03068, allocations: 9.344 kB / 0.7905 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.03073, allocations: 44.89 kB / 0.7905 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.03106, allocations: 356.3 kB / 0.7908 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.03108, allocations: 16.7 kB / 0.7909 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.0311, allocations: 19.94 kB / 0.7909 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.03126, allocations: 163.5 kB / 0.791 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.03127, allocations: 0 / 0.791 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.03128, allocations: 11.94 kB / 0.791 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.03129, allocations: 4 kB / 0.791 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.374e-05/0.03134, allocations: 39.91 kB / 0.7911 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.03176, allocations: 386.8 kB / 0.7915 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.367e-05/0.03186, allocations: 109.3 kB / 0.7916 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/0.03188, allocations: 29.25 kB / 0.7916 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.244e-05/0.03195, allocations: 15.98 kB / 0.7916 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.03196, allocations: 34.56 kB / 0.7916 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.03197, allocations: 0 / 0.7916 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0001365/0.0321, allocations: 90.86 kB / 0.7917 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.03213, allocations: 59.41 kB / 0.7918 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.03227, allocations: 307.3 kB / 0.7921 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.03228, allocations: 30.23 kB / 0.7921 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.03258, allocations: 161.4 kB / 0.7923 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.0326, allocations: 40.52 kB / 0.7923 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.03264, allocations: 37.64 kB / 0.7923 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.612e-05/0.03271, allocations: 347.3 kB / 0.7927 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.03274, allocations: 15.69 kB / 0.7927 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.346e-05/0.03282, allocations: 211.1 kB / 0.7929 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.03287, allocations: 55.14 kB / 0.7929 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.03287, allocations: 0 / 0.7929 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.612e-05/0.03296, allocations: 91.25 kB / 0.793 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.517e-06/0.03297, allocations: 6.344 kB / 0.793 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.03297, allocations: 0 / 0.793 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-06/0.03298, allocations: 4 kB / 0.793 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.03305, allocations: 24.86 kB / 0.793 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.03305, allocations: 8 kB / 0.7931 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.0331, allocations: 12.98 kB / 0.7931 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.03312, allocations: 11.94 kB / 0.7931 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.376e-05/0.03317, allocations: 98.69 kB / 0.7932 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.679e-05/0.03324, allocations: 202.5 kB / 0.7934 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.394e-05/0.03328, allocations: 55.31 kB / 0.7934 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.91e-07/0.03328, allocations: 4.75 kB / 0.7934 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 7.301e-05/0.03335, allocations: 87.25 kB / 0.7935 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/0.03336, allocations: 9.438 kB / 0.7935 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-06/0.03336, allocations: 3.984 kB / 0.7935 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-06/0.03336, allocations: 0 / 0.7935 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.775e-05/0.03341, allocations: 28.52 kB / 0.7935 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-06/0.03341, allocations: 0 / 0.7935 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.273e-05/0.03345, allocations: 13.03 kB / 0.7936 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.03346, allocations: 4 kB / 0.7936 GB, free: 3.164 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.045e-05/0.03352, allocations: 193.2 kB / 0.7937 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.03356, allocations: 31.95 kB / 0.7938 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.0337, allocations: 126.5 kB / 0.7939 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.0337, allocations: 0 / 0.7939 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.0337, allocations: 0 / 0.7939 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.0337, allocations: 0.9375 kB / 0.7939 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.03401, allocations: 466.3 kB / 0.7943 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.03402, allocations: 0 / 0.7943 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.03406, allocations: 24.89 kB / 0.7944 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.03406, allocations: 4 kB / 0.7944 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.03407, allocations: 0 / 0.7944 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.03407, allocations: 0.7812 kB / 0.7944 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.03407, allocations: 11.88 kB / 0.7944 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.0342, allocations: 268.6 kB / 0.7946 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.03425, allocations: 39.75 kB / 0.7947 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.03426, allocations: 4.906 kB / 0.7947 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.078e-05/0.03432, allocations: 11.98 kB / 0.7947 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.03435, allocations: 12.52 kB / 0.7947 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.03436, allocations: 11.94 kB / 0.7947 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.982e-05/0.03443, allocations: 125.7 kB / 0.7948 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.03443, allocations: 0 / 0.7948 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002336/0.03466, allocations: 147.5 kB / 0.795 GB, free: 1.641 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.0001518/0.03481, allocations: 134.8 kB / 0.7951 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.03494, allocations: 95.06 kB / 0.7952 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.03494, allocations: 4 kB / 0.7952 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.03498, allocations: 33.44 kB / 0.7952 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.0353, allocations: 134.5 kB / 0.7954 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006483/0.03595, allocations: 0.5526 MB / 0.7959 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.238e-05/0.036, allocations: 105.1 kB / 0.796 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.03611, allocations: 52.84 kB / 0.7961 GB, free: 496 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.03629, allocations: 155.2 kB / 0.7962 GB, free: 340 kB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.03629, allocations: 0 / 0.7962 GB, free: 340 kB / 0.7448 GB Notification: Performance of Templates: time 0.00698/0.04327, allocations: 5.592 MB / 0.8017 GB, free: 10.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.860174561850727]