Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.0008762/0.0008762, allocations: 80.92 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.0009159/0.0009159, allocations: 161 kB / 24.17 MB, free: 328 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.8988/0.8988, allocations: 177.2 MB / 204.6 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.866/1.866, 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.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.7752 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.641e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.006126/0.006143, allocations: 7.367 MB / 0.7824 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003673/0.009816, allocations: 3.249 MB / 0.7855 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.01009, allocations: 20.34 kB / 0.7855 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005567/0.01065, allocations: 195.3 kB / 0.7857 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006947/0.01134, allocations: 494 kB / 0.7862 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.0124, allocations: 0.7173 MB / 0.7869 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007747/0.01317, allocations: 0.9942 MB / 0.7879 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.01343, allocations: 277.2 kB / 0.7881 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006561/0.01409, allocations: 0.5228 MB / 0.7886 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.01434, allocations: 260.4 kB / 0.7889 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.01437, allocations: 24 kB / 0.7889 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000689/0.01506, allocations: 475 kB / 0.7894 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.158e-05/0.01515, allocations: 104.6 kB / 0.7895 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.01525, allocations: 139.6 kB / 0.7896 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005542/0.0158, allocations: 0.6072 MB / 0.7902 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.0158, allocations: 1.312 kB / 0.7902 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.0158, allocations: 3.938 kB / 0.7902 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.01581, allocations: 0 / 0.7902 GB, free: 6.059 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000662/0.01647, allocations: 0.7111 MB / 0.7909 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.0165, allocations: 13.34 kB / 0.7909 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.96e-05/0.01655, allocations: 52.89 kB / 0.791 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.01688, allocations: 339 kB / 0.7913 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.01689, allocations: 16.88 kB / 0.7913 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.01692, allocations: 31.94 kB / 0.7913 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.0171, allocations: 156.2 kB / 0.7915 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.01711, allocations: 5.156 kB / 0.7915 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.01712, allocations: 8 kB / 0.7915 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.01713, allocations: 4 kB / 0.7915 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.757e-05/0.0172, allocations: 45.92 kB / 0.7915 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006591/0.01786, allocations: 0.489 MB / 0.792 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.01797, allocations: 121.1 kB / 0.7921 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.018, allocations: 27.67 kB / 0.7922 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.66e-05/0.01808, allocations: 21.48 kB / 0.7922 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.0181, allocations: 38.56 kB / 0.7922 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.0181, allocations: 0 / 0.7922 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.000164/0.01826, allocations: 102.9 kB / 0.7923 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.01829, allocations: 55.41 kB / 0.7924 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.01851, allocations: 376.9 kB / 0.7927 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.01853, allocations: 33.7 kB / 0.7928 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/0.01861, allocations: 186.8 kB / 0.7929 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.01863, allocations: 51.56 kB / 0.793 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.01869, allocations: 57.62 kB / 0.793 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.01877, allocations: 354.7 kB / 0.7934 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/0.01881, allocations: 28.2 kB / 0.7934 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.01894, allocations: 349.3 kB / 0.7937 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.226e-05/0.01902, allocations: 85.12 kB / 0.7938 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01902, allocations: 0.75 kB / 0.7938 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001377/0.01916, allocations: 135.1 kB / 0.7939 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.01917, allocations: 9.5 kB / 0.794 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01918, allocations: 4 kB / 0.794 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.01919, allocations: 0 / 0.794 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.0193, allocations: 39.92 kB / 0.794 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.0193, allocations: 5.062 kB / 0.794 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.683e-05/0.0194, allocations: 23.88 kB / 0.794 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.01942, allocations: 13.64 kB / 0.794 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.345e-05/0.01949, allocations: 105.8 kB / 0.7941 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001324/0.01962, allocations: 361.3 kB / 0.7945 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001135/0.01974, allocations: 96.39 kB / 0.7946 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.01974, allocations: 0 / 0.7946 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000189/0.01993, allocations: 141.2 kB / 0.7947 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.01993, allocations: 8 kB / 0.7947 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-06/0.01993, allocations: 0 / 0.7947 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.797e-06/0.01994, allocations: 11.88 kB / 0.7947 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/0.02004, allocations: 45.06 kB / 0.7948 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.02004, allocations: 0 / 0.7948 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.02014, allocations: 24.8 kB / 0.7948 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.02015, allocations: 15.98 kB / 0.7948 GB, free: 0.9688 MB / 0.7448 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 (24): * Single equations (assignments): 24 * 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 6.942e-05/0.02022, allocations: 189.2 kB / 0.795 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.02026, allocations: 31.97 kB / 0.795 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.02044, allocations: 151.8 kB / 0.7952 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.02044, allocations: 7.938 kB / 0.7952 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.02044, allocations: 0.625 kB / 0.7952 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.02044, allocations: 1 kB / 0.7952 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.02081, allocations: 0.4922 MB / 0.7957 GB, free: 60 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.02082, allocations: 4 kB / 0.7957 GB, free: 56 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.02087, allocations: 28.58 kB / 0.7957 GB, free: 28 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.02087, allocations: 0 / 0.7957 GB, free: 28 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.02088, allocations: 8.984 kB / 0.7957 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.02088, allocations: 0 / 0.7957 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.02088, allocations: 8.844 kB / 0.7957 GB, free: 12 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.02123, allocations: 276.8 kB / 0.796 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.02128, allocations: 60.61 kB / 0.796 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.02131, allocations: 4 kB / 0.796 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.02138, allocations: 5.625 kB / 0.796 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.02141, allocations: 23.91 kB / 0.7961 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.02142, allocations: 4 kB / 0.7961 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000123/0.02154, allocations: 155.5 kB / 0.7962 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02154, allocations: 0 / 0.7962 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000312/0.02186, allocations: 204.1 kB / 0.7964 GB, free: 15.26 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 (16): * Single equations (assignments): 14 * 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.0009749/0.02283, allocations: 0.4937 MB / 0.7969 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001812/0.02301, allocations: 143.6 kB / 0.797 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.02302, allocations: 4 kB / 0.797 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.005e-05/0.02307, allocations: 52.7 kB / 0.7971 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.02346, allocations: 162.3 kB / 0.7972 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009253/0.02439, allocations: 0.6779 MB / 0.7979 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.75e-05/0.02444, allocations: 109.3 kB / 0.798 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.02456, allocations: 61.03 kB / 0.7981 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.02478, allocations: 171.2 kB / 0.7982 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of SimCode: time 6.61e-07/0.02478, allocations: 0 / 0.7982 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of Templates: time 0.0096/0.03438, allocations: 8.11 MB / 0.8061 GB, free: 5.695 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.087850634939969]