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.002426/0.002426, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002998/0.002998, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.717/1.717, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 178] 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 3.269/3.269, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 176] 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.964e-06/1.964e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.587e-05, allocations: 6.219 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02758/0.02761, allocations: 19.22 MB / 1.02 GB, free: 9.711 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.009394/0.03701, allocations: 4.798 MB / 1.025 GB, free: 4.898 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009485/0.03795, allocations: 23.75 kB / 1.025 GB, free: 4.875 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.03901, allocations: 277.9 kB / 1.025 GB, free: 4.602 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.003764/0.04278, allocations: 1.087 MB / 1.026 GB, free: 3.512 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.04476, allocations: 0.6688 MB / 1.027 GB, free: 2.848 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002316/0.04707, allocations: 1.426 MB / 1.028 GB, free: 1.414 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007044/0.04778, allocations: 372.9 kB / 1.028 GB, free: 1.051 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.04961, allocations: 0.88 MB / 1.029 GB, free: 172 kB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008473/0.05045, allocations: 438.8 kB / 1.03 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.05057, allocations: 48 kB / 1.03 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.05214, allocations: 0.5728 MB / 1.03 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.05236, allocations: 163.3 kB / 1.03 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.05271, allocations: 223.4 kB / 1.031 GB, free: 14.74 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.05456, allocations: 1.001 MB / 1.032 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.05457, allocations: 3.984 kB / 1.032 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.573e-06/0.05457, allocations: 4 kB / 1.032 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.05458, allocations: 0 / 1.032 GB, free: 13.73 MB / 0.9948 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.002175/0.05675, allocations: 0.9475 MB / 1.032 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.0568, allocations: 9.344 kB / 1.032 GB, free: 12.74 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.05853, allocations: 240.1 kB / 1.033 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.05969, allocations: 0.5118 MB / 1.033 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.05973, allocations: 28.62 kB / 1.033 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/0.05981, allocations: 32 kB / 1.033 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008733/0.06068, allocations: 385.6 kB / 1.034 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.06069, allocations: 0 / 1.034 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.06074, allocations: 12 kB / 1.034 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.06075, allocations: 4 kB / 1.034 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009055/0.06166, allocations: 333.8 kB / 1.034 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.06421, allocations: 1.078 MB / 1.035 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009667/0.06517, allocations: 350.4 kB / 1.035 GB, free: 9.711 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/0.06562, allocations: 172.8 kB / 1.036 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/0.06587, allocations: 47.95 kB / 1.036 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.06592, allocations: 34.56 kB / 1.036 GB, free: 9.449 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=18): time 1.813e-06/0.06592, allocations: 0 / 1.036 GB, free: 9.449 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18): time 0.001553/0.06748, allocations: 0.5033 MB / 1.036 GB, free: 8.941 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.06754, allocations: 55.41 kB / 1.036 GB, free: 8.875 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009547/0.06849, allocations: 0.5847 MB / 1.037 GB, free: 8.281 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-05/0.06855, allocations: 33.7 kB / 1.037 GB, free: 8.242 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.06882, allocations: 261 kB / 1.037 GB, free: 7.98 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/0.06892, allocations: 75.36 kB / 1.037 GB, free: 7.906 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.06917, allocations: 130.1 kB / 1.037 GB, free: 7.773 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002268/0.0694, allocations: 362.7 kB / 1.038 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007573/0.07016, allocations: 230.7 kB / 1.038 GB, free: 7.18 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009649/0.07112, allocations: 0.5758 MB / 1.038 GB, free: 6.516 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.0725, allocations: 439 kB / 1.039 GB, free: 6.074 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.07251, allocations: 0 / 1.039 GB, free: 6.074 MB / 0.9948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00361/0.07612, allocations: 0.8214 MB / 1.04 GB, free: 5.246 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.07614, allocations: 4 kB / 1.04 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.07615, allocations: 0 / 1.04 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004015/0.07655, allocations: 108.8 kB / 1.04 GB, free: 5.133 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.07724, allocations: 119.8 kB / 1.04 GB, free: 5.016 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007815/0.07802, allocations: 0.5953 MB / 1.04 GB, free: 4.395 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000946/0.07897, allocations: 87.88 kB / 1.04 GB, free: 4.309 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.07904, allocations: 23.98 kB / 1.04 GB, free: 4.285 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000905/0.07995, allocations: 357 kB / 1.041 GB, free: 3.934 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009816/0.08093, allocations: 0.5718 MB / 1.041 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001161/0.08209, allocations: 442.2 kB / 1.042 GB, free: 2.836 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.933e-06/0.08209, allocations: 0 / 1.042 GB, free: 2.836 MB / 0.9948 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001698/0.08379, allocations: 0.6219 MB / 1.042 GB, free: 2.207 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.08381, allocations: 11.94 kB / 1.042 GB, free: 2.195 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.08381, allocations: 4 kB / 1.042 GB, free: 2.191 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.643e-06/0.08382, allocations: 4 kB / 1.042 GB, free: 2.188 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/0.08457, allocations: 127.8 kB / 1.043 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.08457, allocations: 0 / 1.043 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.08558, allocations: 91.78 kB / 1.043 GB, free: 1.973 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.08568, allocations: 23.98 kB / 1.043 GB, free: 1.949 MB / 0.9948 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.0003365/0.08602, allocations: 198.8 kB / 1.043 GB, free: 1.75 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.08625, allocations: 67.58 kB / 1.043 GB, free: 1.684 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.08762, allocations: 481.7 kB / 1.043 GB, free: 1.207 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.08763, allocations: 0 / 1.043 GB, free: 1.207 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.08764, allocations: 8 kB / 1.043 GB, free: 1.199 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.08765, allocations: 3.984 kB / 1.043 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.09021, allocations: 0.9812 MB / 1.044 GB, free: 168 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.09021, allocations: 4.125 kB / 1.044 GB, free: 164 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.09184, allocations: 143.8 kB / 1.044 GB, free: 20 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.09185, allocations: 0 / 1.044 GB, free: 20 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.09188, allocations: 8 kB / 1.044 GB, free: 12 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.09314, allocations: 0.6913 MB / 1.045 GB, free: 15.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.09314, allocations: 0 / 1.045 GB, free: 15.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.09441, allocations: 0.5422 MB / 1.046 GB, free: 14.73 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.09468, allocations: 95.52 kB / 1.046 GB, free: 14.64 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.151e-05/0.09476, allocations: 4 kB / 1.046 GB, free: 14.63 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005787/0.09534, allocations: 55.88 kB / 1.046 GB, free: 14.58 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.09544, allocations: 15.97 kB / 1.046 GB, free: 14.56 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.09548, allocations: 11.94 kB / 1.046 GB, free: 14.55 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007582/0.09624, allocations: 414.8 kB / 1.046 GB, free: 14.15 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.09624, allocations: 0 / 1.046 GB, free: 14.15 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001176/0.09742, allocations: 335.3 kB / 1.047 GB, free: 13.82 MB / 1.01 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.0005977/0.09802, allocations: 274.9 kB / 1.047 GB, free: 13.54 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002285/0.1003, allocations: 0.7435 MB / 1.048 GB, free: 12.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1003, allocations: 4 kB / 1.048 GB, free: 12.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.1022, allocations: 275.7 kB / 1.048 GB, free: 12.53 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.1032, allocations: 171.7 kB / 1.048 GB, free: 12.36 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.1051, allocations: 0.8476 MB / 1.049 GB, free: 11.46 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1054, allocations: 266.9 kB / 1.049 GB, free: 11.17 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006522/0.1061, allocations: 163.2 kB / 1.049 GB, free: 11.01 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.1063, allocations: 48.48 kB / 1.049 GB, free: 10.96 MB / 1.01 GB Notification: Performance of SimCode: time 9.52e-07/0.1063, allocations: 0 / 1.049 GB, free: 10.96 MB / 1.01 GB Notification: Performance of Templates: time 0.6723/0.7786, allocations: 14.62 MB / 1.064 GB, free: 98.16 MB / 1.01 GB " [Timeout remaining time 299] 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: 11.0670994091779]