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.0009616/0.0009616, allocations: 84.75 kB / 20.83 MB, free: 3.621 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.001022/0.001022, allocations: 173 kB / 24.25 MB, free: 200 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 0.9106/0.9106, allocations: 177.1 MB / 204.7 MB, free: 5.461 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.828/1.828, allocations: 389.6 MB / 0.6355 GB, free: 12.25 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.593e-06/1.593e-06, allocations: 0 / 0.7753 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.828e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.008962/0.00898, allocations: 7.023 MB / 0.7822 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005033/0.01401, allocations: 2.862 MB / 0.785 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/0.01441, allocations: 31.75 kB / 0.785 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.01486, allocations: 123.9 kB / 0.7851 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.01617, allocations: 0.5316 MB / 0.7857 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.01743, allocations: 476.1 kB / 0.7861 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.01891, allocations: 1.072 MB / 0.7872 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004484/0.01936, allocations: 225.7 kB / 0.7874 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009276/0.02029, allocations: 0.5451 MB / 0.7879 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.02058, allocations: 188.3 kB / 0.7881 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/0.02062, allocations: 16 kB / 0.7881 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007019/0.02132, allocations: 387.8 kB / 0.7885 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.074e-05/0.02141, allocations: 71.62 kB / 0.7885 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.02155, allocations: 117 kB / 0.7887 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006919/0.02224, allocations: 458.3 kB / 0.7891 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.02225, allocations: 0 / 0.7891 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.173e-06/0.02225, allocations: 0 / 0.7891 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.02225, allocations: 2.438 kB / 0.7891 GB, free: 7.203 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.0008229/0.02308, allocations: 0.6038 MB / 0.7897 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.02313, allocations: 9.344 kB / 0.7897 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.114e-05/0.02322, allocations: 44.89 kB / 0.7897 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.0238, allocations: 351.8 kB / 0.7901 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.02382, allocations: 17.98 kB / 0.7901 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.02385, allocations: 19.94 kB / 0.7901 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.02414, allocations: 164.3 kB / 0.7903 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.02416, allocations: 1.406 kB / 0.7903 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.02418, allocations: 8 kB / 0.7903 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.02419, allocations: 4 kB / 0.7903 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.107e-05/0.02428, allocations: 43.91 kB / 0.7903 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007685/0.02504, allocations: 375.6 kB / 0.7907 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.0252, allocations: 113.9 kB / 0.7908 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.02525, allocations: 27.69 kB / 0.7908 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.02536, allocations: 21.72 kB / 0.7908 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.02539, allocations: 38.55 kB / 0.7909 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.894e-06/0.02539, allocations: 0 / 0.7909 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002162/0.02561, allocations: 89.58 kB / 0.791 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.02564, allocations: 60.41 kB / 0.791 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.02588, allocations: 307.4 kB / 0.7913 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.0259, allocations: 29.7 kB / 0.7913 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.501e-05/0.026, allocations: 163.2 kB / 0.7915 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.02603, allocations: 35.67 kB / 0.7915 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.0261, allocations: 37.66 kB / 0.7916 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.02621, allocations: 346.7 kB / 0.7919 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.446e-05/0.02626, allocations: 19.67 kB / 0.7919 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.02638, allocations: 207.1 kB / 0.7921 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.523e-05/0.02646, allocations: 56.08 kB / 0.7922 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.02646, allocations: 0 / 0.7922 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001485/0.02661, allocations: 87.25 kB / 0.7922 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.02663, allocations: 4 kB / 0.7922 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.02663, allocations: 3.984 kB / 0.7923 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.02665, allocations: 5.188 kB / 0.7923 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.02677, allocations: 27.92 kB / 0.7923 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.02677, allocations: 4 kB / 0.7923 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.736e-05/0.02687, allocations: 8.625 kB / 0.7923 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.0269, allocations: 7.938 kB / 0.7923 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.397e-05/0.02699, allocations: 106.9 kB / 0.7924 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001121/0.0271, allocations: 203.1 kB / 0.7926 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.696e-05/0.02718, allocations: 55.27 kB / 0.7927 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.02718, allocations: 4.875 kB / 0.7927 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0001369/0.02732, allocations: 83.25 kB / 0.7927 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.02733, allocations: 8.594 kB / 0.7927 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.02733, allocations: 0 / 0.7927 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-06/0.02733, allocations: 1 kB / 0.7927 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.962e-05/0.02743, allocations: 23.98 kB / 0.7928 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.02744, allocations: 0.9062 kB / 0.7928 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-05/0.02753, allocations: 15.94 kB / 0.7928 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.02754, allocations: 4.594 kB / 0.7928 GB, free: 3.137 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 9.799e-05/0.02764, allocations: 193.1 kB / 0.793 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.02769, allocations: 27.97 kB / 0.793 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.02793, allocations: 124.8 kB / 0.7931 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.02794, allocations: 0.9062 kB / 0.7931 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.02794, allocations: 0 / 0.7931 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.02795, allocations: 5.797 kB / 0.7931 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.02847, allocations: 461.3 kB / 0.7936 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.02848, allocations: 4.125 kB / 0.7936 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.437e-05/0.02857, allocations: 29.95 kB / 0.7936 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.02858, allocations: 4 kB / 0.7936 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.02859, allocations: 0 / 0.7936 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.02859, allocations: 4 kB / 0.7936 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.0286, allocations: 7.875 kB / 0.7936 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.02883, allocations: 262.2 kB / 0.7939 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.445e-05/0.02892, allocations: 43.73 kB / 0.7939 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.02895, allocations: 4.625 kB / 0.7939 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.02908, allocations: 11.98 kB / 0.7939 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.02912, allocations: 16.8 kB / 0.7939 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.02914, allocations: 11.94 kB / 0.7939 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00013/0.02927, allocations: 125.6 kB / 0.7941 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.02927, allocations: 0 / 0.7941 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004146/0.02968, allocations: 147.6 kB / 0.7942 GB, free: 1.605 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.0002619/0.02995, allocations: 127.8 kB / 0.7943 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.03015, allocations: 97.84 kB / 0.7944 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.03015, allocations: 4 kB / 0.7944 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.073e-05/0.03023, allocations: 41.73 kB / 0.7945 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.03076, allocations: 115.2 kB / 0.7946 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.03182, allocations: 0.5604 MB / 0.7951 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.376e-05/0.0319, allocations: 97.22 kB / 0.7952 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.03208, allocations: 57.39 kB / 0.7953 GB, free: 468 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.03237, allocations: 151.2 kB / 0.7954 GB, free: 316 kB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.03237, allocations: 0 / 0.7954 GB, free: 316 kB / 0.7448 GB Notification: Performance of Templates: time 0.007855/0.04022, allocations: 5.602 MB / 0.8009 GB, free: 10.93 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.928094846196473]