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.001011/0.001011, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001111/0.001111, allocations: 175.5 kB / 25.18 MB, free: 8.84 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.877/0.877, allocations: 177.2 MB / 205.6 MB, free: 4.34 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 2.016/2.016, allocations: 389.6 MB / 0.6364 GB, free: 13.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 1.243e-06/1.243e-06, allocations: 0 / 0.7755 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.643e-05, allocations: 9.688 kB / 0.7756 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.007536/0.007552, allocations: 9.119 MB / 0.7845 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003596/0.01115, allocations: 3.407 MB / 0.7878 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.01138, allocations: 23.75 kB / 0.7878 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.01178, allocations: 186.5 kB / 0.788 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0009856/0.01277, allocations: 0.7691 MB / 0.7887 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000779/0.01355, allocations: 0.6392 MB / 0.7894 GB, free: 372 kB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009777/0.01453, allocations: 1.41 MB / 0.7907 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.01488, allocations: 393.8 kB / 0.7911 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000641/0.01552, allocations: 0.7479 MB / 0.7919 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/0.01587, allocations: 418.8 kB / 0.7922 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 6.466e-05/0.01594, allocations: 48 kB / 0.7923 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005559/0.01649, allocations: 0.4989 MB / 0.7928 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.0166, allocations: 155.3 kB / 0.7929 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.01676, allocations: 235.4 kB / 0.7932 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00067/0.01743, allocations: 0.763 MB / 0.7939 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.01743, allocations: 0 / 0.7939 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.01e-07/0.01744, allocations: 0 / 0.7939 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.01744, allocations: 0 / 0.7939 GB, free: 11.7 MB / 0.7605 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.001219/0.01866, allocations: 0.8872 MB / 0.7948 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.01869, allocations: 8.031 kB / 0.7948 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007288/0.01942, allocations: 232.6 kB / 0.795 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.01988, allocations: 422.3 kB / 0.7954 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.0199, allocations: 28.62 kB / 0.7954 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.01994, allocations: 31.98 kB / 0.7955 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.02026, allocations: 272.4 kB / 0.7957 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.02027, allocations: 4 kB / 0.7957 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.0203, allocations: 12 kB / 0.7957 GB, free: 9.758 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.0203, allocations: 4 kB / 0.7957 GB, free: 9.754 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.02045, allocations: 87.47 kB / 0.7958 GB, free: 9.672 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.02145, allocations: 0.6502 MB / 0.7965 GB, free: 9 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.02169, allocations: 193.2 kB / 0.7966 GB, free: 8.801 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.148e-05/0.02177, allocations: 67.59 kB / 0.7967 GB, free: 8.73 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.859e-05/0.02186, allocations: 31.97 kB / 0.7967 GB, free: 8.699 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.02188, allocations: 34.56 kB / 0.7968 GB, free: 8.656 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.02188, allocations: 0 / 0.7968 GB, free: 8.656 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0003215/0.02221, allocations: 181.5 kB / 0.7969 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.02223, allocations: 55.41 kB / 0.797 GB, free: 8.406 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.02252, allocations: 471 kB / 0.7974 GB, free: 7.934 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.02255, allocations: 37.7 kB / 0.7975 GB, free: 7.891 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/0.02264, allocations: 213.7 kB / 0.7977 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.02268, allocations: 59.47 kB / 0.7977 GB, free: 7.621 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.02282, allocations: 121.9 kB / 0.7979 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.02291, allocations: 370.6 kB / 0.7982 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.02304, allocations: 81.64 kB / 0.7983 GB, free: 7.039 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.02326, allocations: 409.6 kB / 0.7987 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.02349, allocations: 198.1 kB / 0.7989 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.0235, allocations: 4 kB / 0.7989 GB, free: 6.344 MB / 0.7605 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001096/0.02459, allocations: 450.4 kB / 0.7993 GB, free: 5.891 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.02461, allocations: 4 kB / 0.7993 GB, free: 5.887 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.02461, allocations: 0 / 0.7993 GB, free: 5.887 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009773/0.02559, allocations: 248.5 kB / 0.7995 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.02588, allocations: 103.9 kB / 0.7996 GB, free: 5.539 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002972/0.02618, allocations: 0.5484 MB / 0.8002 GB, free: 4.965 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.02645, allocations: 55.84 kB / 0.8002 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.02649, allocations: 15.98 kB / 0.8002 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001773/0.02666, allocations: 158.8 kB / 0.8004 GB, free: 4.734 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002262/0.02689, allocations: 421.6 kB / 0.8008 GB, free: 4.23 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002237/0.02711, allocations: 191.5 kB / 0.801 GB, free: 4.035 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.163e-06/0.02712, allocations: 0 / 0.801 GB, free: 4.035 MB / 0.7605 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0003437/0.02746, allocations: 277.9 kB / 0.8012 GB, free: 3.754 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.02747, allocations: 4 kB / 0.8012 GB, free: 3.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-06/0.02747, allocations: 0 / 0.8012 GB, free: 3.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/0.02747, allocations: 7.938 kB / 0.8013 GB, free: 3.742 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.02784, allocations: 131.8 kB / 0.8014 GB, free: 3.613 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.02784, allocations: 4 kB / 0.8014 GB, free: 3.609 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005545/0.02839, allocations: 67.73 kB / 0.8014 GB, free: 3.543 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.02842, allocations: 15.98 kB / 0.8015 GB, free: 3.527 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 9.828e-05/0.02852, allocations: 200.1 kB / 0.8017 GB, free: 3.324 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.02858, allocations: 35.95 kB / 0.8017 GB, free: 3.289 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.0289, allocations: 230 kB / 0.8019 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.02891, allocations: 0 / 0.8019 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.02891, allocations: 0 / 0.8019 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.02892, allocations: 3.984 kB / 0.8019 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008045/0.02972, allocations: 0.6609 MB / 0.8026 GB, free: 2.344 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.02973, allocations: 4 kB / 0.8026 GB, free: 2.34 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005993/0.03033, allocations: 135.8 kB / 0.8027 GB, free: 2.207 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.03033, allocations: 0 / 0.8027 GB, free: 2.207 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.03035, allocations: 11.94 kB / 0.8027 GB, free: 2.195 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004278/0.03077, allocations: 0.6485 MB / 0.8033 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.03077, allocations: 0 / 0.8033 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.03104, allocations: 345.2 kB / 0.8037 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.03114, allocations: 67.55 kB / 0.8037 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.03119, allocations: 7.984 kB / 0.8037 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.03138, allocations: 28.03 kB / 0.8038 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.03142, allocations: 19.95 kB / 0.8038 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.03144, allocations: 15.98 kB / 0.8038 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001543/0.0316, allocations: 220.4 kB / 0.804 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.0316, allocations: 0 / 0.804 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000452/0.03205, allocations: 335.3 kB / 0.8043 GB, free: 484 kB / 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.0002474/0.03229, allocations: 180 kB / 0.8045 GB, free: 296 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.3093/0.3416, allocations: 346.5 kB / 0.8048 GB, free: 29.43 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/0.3416, allocations: 6.031 kB / 0.8048 GB, free: 29.43 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007763/0.3424, allocations: 174.4 kB / 0.805 GB, free: 29.42 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/0.3431, allocations: 189.7 kB / 0.8052 GB, free: 29.42 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3444, allocations: 0.8336 MB / 0.806 GB, free: 28.95 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.3446, allocations: 249.6 kB / 0.8062 GB, free: 28.86 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004777/0.3451, allocations: 200.2 kB / 0.8064 GB, free: 28.82 MB / 0.7605 GB Notification: Performance of SimCode: time 2.114e-06/0.3451, allocations: 1.469 kB / 0.8064 GB, free: 28.82 MB / 0.7605 GB Notification: Performance of Templates: time 0.01475/0.3598, allocations: 11.62 MB / 0.8178 GB, free: 28.09 MB / 0.7605 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 > Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.365915333852172]