Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.0009451/0.0009451, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.0009762/0.0009762, allocations: 171 kB / 25.05 MB, free: 9.148 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.9448/0.9448, 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.892/1.892, 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.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.367e-06/3.367e-06, allocations: 4 kB / 0.7761 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/2.136e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.007269/0.00729, allocations: 9.142 MB / 0.785 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003773/0.01106, allocations: 3.41 MB / 0.7884 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.01135, allocations: 25 kB / 0.7884 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.01175, allocations: 178.5 kB / 0.7886 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.01284, allocations: 0.7784 MB / 0.7893 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009084/0.01375, allocations: 0.6341 MB / 0.79 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.01516, allocations: 1.406 MB / 0.7913 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004014/0.01556, allocations: 390.8 kB / 0.7917 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007051/0.01626, allocations: 0.745 MB / 0.7924 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.01666, allocations: 423.7 kB / 0.7928 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.544e-05/0.01672, allocations: 48 kB / 0.7929 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006951/0.01742, allocations: 0.4958 MB / 0.7934 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.01753, allocations: 163.3 kB / 0.7935 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.01768, allocations: 224.6 kB / 0.7937 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007415/0.01842, allocations: 0.7591 MB / 0.7945 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.01843, allocations: 3.984 kB / 0.7945 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.01843, allocations: 0.5 kB / 0.7945 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.01844, allocations: 0 / 0.7945 GB, free: 2.52 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0009504/0.01939, allocations: 0.8909 MB / 0.7953 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.01942, allocations: 12.03 kB / 0.7954 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007651/0.02018, allocations: 232.6 kB / 0.7956 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.02068, allocations: 417.8 kB / 0.796 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.0207, allocations: 32.62 kB / 0.796 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.02074, allocations: 32 kB / 0.796 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.02107, allocations: 269 kB / 0.7963 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.02108, allocations: 0.6875 kB / 0.7963 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.0211, allocations: 12 kB / 0.7963 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.02111, allocations: 5.062 kB / 0.7963 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.02125, allocations: 87.47 kB / 0.7964 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.02229, allocations: 0.6635 MB / 0.797 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.02253, allocations: 198.2 kB / 0.7972 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.02261, allocations: 60.61 kB / 0.7973 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.567e-05/0.02271, allocations: 27.98 kB / 0.7973 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.02273, allocations: 39.55 kB / 0.7974 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.774e-06/0.02273, allocations: 0 / 0.7974 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0003334/0.02307, allocations: 185.1 kB / 0.7975 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.02309, allocations: 55.41 kB / 0.7976 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005821/0.02368, allocations: 476.1 kB / 0.798 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.02371, allocations: 37.7 kB / 0.7981 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.0238, allocations: 205.7 kB / 0.7983 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.02385, allocations: 63.47 kB / 0.7983 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.02398, allocations: 119 kB / 0.7984 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.668e-05/0.02407, allocations: 366.6 kB / 0.7988 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.02419, allocations: 78.66 kB / 0.7989 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.02441, allocations: 405.7 kB / 0.7993 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.02465, allocations: 194.9 kB / 0.7994 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.02465, allocations: 0 / 0.7994 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001096/0.02575, allocations: 457.7 kB / 0.7999 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.02576, allocations: 5.406 kB / 0.7999 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.02577, allocations: 0 / 0.7999 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009788/0.02675, allocations: 243.3 kB / 0.8001 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.02703, allocations: 109.1 kB / 0.8002 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002951/0.02733, allocations: 0.5428 MB / 0.8008 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.02762, allocations: 63.12 kB / 0.8008 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.02765, allocations: 15.98 kB / 0.8008 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001941/0.02785, allocations: 167.8 kB / 0.801 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002208/0.02807, allocations: 405.7 kB / 0.8014 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002204/0.02829, allocations: 194.9 kB / 0.8016 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.02829, allocations: 0 / 0.8016 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0003412/0.02863, allocations: 275 kB / 0.8018 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.02864, allocations: 4 kB / 0.8018 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.02864, allocations: 1.062 kB / 0.8018 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.711e-06/0.02865, allocations: 7.938 kB / 0.8018 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.02902, allocations: 129.5 kB / 0.802 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.02902, allocations: 4 kB / 0.802 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.0293, allocations: 61.55 kB / 0.802 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.02933, allocations: 11.98 kB / 0.802 GB, free: 10.41 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.02944, allocations: 205.5 kB / 0.8022 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.0295, allocations: 39.95 kB / 0.8023 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.02985, allocations: 238.6 kB / 0.8025 GB, free: 9.93 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.02985, allocations: 3.938 kB / 0.8025 GB, free: 9.926 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.02986, allocations: 0.5625 kB / 0.8025 GB, free: 9.926 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.02986, allocations: 4.812 kB / 0.8025 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008695/0.03073, allocations: 0.6673 MB / 0.8032 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.03073, allocations: 4 kB / 0.8032 GB, free: 9.211 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006114/0.03135, allocations: 137.4 kB / 0.8033 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.03135, allocations: 0 / 0.8033 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.03137, allocations: 8 kB / 0.8033 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004532/0.03182, allocations: 0.6456 MB / 0.8039 GB, free: 8.402 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.03182, allocations: 0.625 kB / 0.8039 GB, free: 8.402 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.03209, allocations: 347.2 kB / 0.8043 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.03221, allocations: 71.52 kB / 0.8043 GB, free: 7.961 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.03225, allocations: 0 / 0.8043 GB, free: 7.961 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.03245, allocations: 33.38 kB / 0.8044 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.03249, allocations: 15.97 kB / 0.8044 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.03251, allocations: 12.67 kB / 0.8044 GB, free: 7.902 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001705/0.03268, allocations: 220.4 kB / 0.8046 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.03268, allocations: 0.9062 kB / 0.8046 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005542/0.03323, allocations: 319.4 kB / 0.8049 GB, free: 7.375 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005263/0.03376, allocations: 177.2 kB / 0.8051 GB, free: 7.195 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005412/0.0343, allocations: 359.3 kB / 0.8054 GB, free: 6.84 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/0.0343, allocations: 4.594 kB / 0.8054 GB, free: 6.836 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006372/0.03494, allocations: 174.2 kB / 0.8056 GB, free: 6.664 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.03544, allocations: 200.6 kB / 0.8058 GB, free: 6.477 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.03652, allocations: 0.8168 MB / 0.8066 GB, free: 5.625 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.411e-05/0.0366, allocations: 117.9 kB / 0.8067 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000351/0.03695, allocations: 130.6 kB / 0.8068 GB, free: 5.387 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003726/0.03732, allocations: 199.1 kB / 0.807 GB, free: 5.191 MB / 0.7605 GB Notification: Performance of SimCode: time 9.12e-07/0.03732, allocations: 0 / 0.807 GB, free: 5.191 MB / 0.7605 GB Notification: Performance of Templates: time 0.0168/0.05412, allocations: 14.81 MB / 0.8215 GB, free: 6.625 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.184583003632724]