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.0009756/0.0009756, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009747/0.0009747, allocations: 165 kB / 24.17 MB, free: 332 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.9318/0.9318, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.934/1.934, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.854e-06/1.854e-06, allocations: 0 / 0.7751 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.64e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.006939/0.006966, allocations: 6.976 MB / 0.7819 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00365/0.01062, allocations: 2.878 MB / 0.7848 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.01103, allocations: 27.81 kB / 0.7848 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.01144, allocations: 120.1 kB / 0.7849 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.01257, allocations: 0.5405 MB / 0.7854 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.01359, allocations: 489 kB / 0.7859 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.01489, allocations: 1.066 MB / 0.7869 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.01524, allocations: 241.7 kB / 0.7872 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007048/0.01594, allocations: 0.5615 MB / 0.7877 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.01616, allocations: 199.3 kB / 0.7879 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.0162, allocations: 19.03 kB / 0.7879 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005561/0.01675, allocations: 371.2 kB / 0.7883 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.003e-05/0.01683, allocations: 67.69 kB / 0.7883 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.0172, allocations: 115.6 kB / 0.7885 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000542/0.01774, allocations: 462.3 kB / 0.7889 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01775, allocations: 0 / 0.7889 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.383e-06/0.01775, allocations: 0 / 0.7889 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.01775, allocations: 0 / 0.7889 GB, free: 7.355 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.0005966/0.01835, allocations: 0.6013 MB / 0.7895 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.01839, allocations: 9.344 kB / 0.7895 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.01845, allocations: 48.83 kB / 0.7895 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.01884, allocations: 352.3 kB / 0.7899 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.01886, allocations: 13.92 kB / 0.7899 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.01888, allocations: 27.94 kB / 0.7899 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.01908, allocations: 160.4 kB / 0.7901 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.01908, allocations: 2.438 kB / 0.7901 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.0191, allocations: 4 kB / 0.7901 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.0191, allocations: 4 kB / 0.7901 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.306e-05/0.01917, allocations: 43.84 kB / 0.7901 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.01967, allocations: 380.1 kB / 0.7905 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.01978, allocations: 109.2 kB / 0.7906 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.01981, allocations: 27.66 kB / 0.7906 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.404e-05/0.01989, allocations: 16 kB / 0.7906 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.01991, allocations: 42.48 kB / 0.7907 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.01992, allocations: 0.5312 kB / 0.7907 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0001512/0.02007, allocations: 91.03 kB / 0.7908 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.02009, allocations: 55.41 kB / 0.7908 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.02026, allocations: 303.4 kB / 0.7911 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.02027, allocations: 29.7 kB / 0.7911 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.02034, allocations: 158.8 kB / 0.7913 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.02037, allocations: 47.61 kB / 0.7913 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.02041, allocations: 33.66 kB / 0.7914 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.0205, allocations: 350.7 kB / 0.7917 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.02053, allocations: 24.95 kB / 0.7917 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.169e-05/0.02062, allocations: 202.4 kB / 0.7919 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.228e-05/0.02069, allocations: 54.16 kB / 0.792 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.02069, allocations: 0.6562 kB / 0.792 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001092/0.0208, allocations: 95.34 kB / 0.792 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.02081, allocations: 4.625 kB / 0.792 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.02082, allocations: 8.672 kB / 0.7921 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.02083, allocations: 3.938 kB / 0.7921 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.02092, allocations: 25.61 kB / 0.7921 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.02092, allocations: 0 / 0.7921 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.02097, allocations: 8 kB / 0.7921 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.02099, allocations: 7.938 kB / 0.7921 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.856e-05/0.02106, allocations: 102.8 kB / 0.7922 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.935e-05/0.02115, allocations: 202.5 kB / 0.7924 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.612e-05/0.02119, allocations: 55.27 kB / 0.7924 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.02119, allocations: 1.688 kB / 0.7924 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 9.364e-05/0.02129, allocations: 91.34 kB / 0.7925 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.02129, allocations: 4 kB / 0.7925 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.0213, allocations: 0 / 0.7925 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.177e-06/0.0213, allocations: 4.625 kB / 0.7925 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.957e-05/0.02136, allocations: 19.98 kB / 0.7926 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-06/0.02136, allocations: 1.969 kB / 0.7926 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.02141, allocations: 23.81 kB / 0.7926 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.02142, allocations: 4 kB / 0.7926 GB, free: 3.285 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.019e-05/0.02151, allocations: 188.2 kB / 0.7928 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.02154, allocations: 25.16 kB / 0.7928 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.02172, allocations: 121.6 kB / 0.7929 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.02173, allocations: 0 / 0.7929 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.02173, allocations: 4.844 kB / 0.7929 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.02173, allocations: 0 / 0.7929 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.02211, allocations: 469.4 kB / 0.7934 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.02212, allocations: 4 kB / 0.7934 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.689e-05/0.02218, allocations: 24.86 kB / 0.7934 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.02218, allocations: 4 kB / 0.7934 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.02219, allocations: 4.594 kB / 0.7934 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.02219, allocations: 1 kB / 0.7934 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.02219, allocations: 7.938 kB / 0.7934 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.02234, allocations: 265.2 kB / 0.7937 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.02239, allocations: 40.59 kB / 0.7937 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.02241, allocations: 11.94 kB / 0.7937 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.02247, allocations: 8.578 kB / 0.7937 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.02251, allocations: 16.92 kB / 0.7937 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.02252, allocations: 8.062 kB / 0.7937 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.833e-05/0.0226, allocations: 128.7 kB / 0.7939 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0226, allocations: 0.9062 kB / 0.7939 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002724/0.02287, allocations: 139.6 kB / 0.794 GB, free: 1.77 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.0002295/0.0231, allocations: 138.6 kB / 0.7941 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.02324, allocations: 95.55 kB / 0.7942 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.02324, allocations: 0 / 0.7942 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.629e-05/0.02329, allocations: 40.77 kB / 0.7943 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.02364, allocations: 128.4 kB / 0.7944 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007757/0.02442, allocations: 0.5518 MB / 0.7949 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.825e-05/0.02448, allocations: 105.6 kB / 0.795 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.0246, allocations: 48.59 kB / 0.7951 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.02479, allocations: 151.2 kB / 0.7952 GB, free: 476 kB / 0.7448 GB Notification: Performance of SimCode: time 1.092e-06/0.02479, allocations: 4.781 kB / 0.7952 GB, free: 472 kB / 0.7448 GB Notification: Performance of Templates: time 0.008297/0.03309, allocations: 5.603 MB / 0.8007 GB, free: 11.09 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: 5.032599230762571]