Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.001032/0.001032, allocations: 79.69 kB / 21.74 MB, free: 2.512 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.001299/0.001299, allocations: 172.9 kB / 25.18 MB, free: 8.918 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.9771/0.9771, allocations: 177.2 MB / 205.6 MB, free: 5.414 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.853/1.853, allocations: 389.6 MB / 0.6364 GB, free: 12.23 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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7755 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.672e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.009601/0.009618, allocations: 7.559 MB / 0.7829 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005357/0.01498, allocations: 3.128 MB / 0.786 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003069/0.01528, allocations: 19.81 kB / 0.786 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005934/0.01588, allocations: 195.2 kB / 0.7862 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007783/0.01665, allocations: 498.2 kB / 0.7867 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.01783, allocations: 0.7126 MB / 0.7874 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000707/0.01854, allocations: 0.9436 MB / 0.7883 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002894/0.01882, allocations: 282.5 kB / 0.7885 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.01922, allocations: 470.7 kB / 0.789 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.01946, allocations: 255.9 kB / 0.7892 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.997e-05/0.0195, allocations: 28.69 kB / 0.7893 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005555/0.02006, allocations: 0.5428 MB / 0.7898 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.78e-05/0.02016, allocations: 143.4 kB / 0.7899 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.02028, allocations: 161.4 kB / 0.7901 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006502/0.02093, allocations: 0.685 MB / 0.7908 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.02093, allocations: 0 / 0.7908 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.02093, allocations: 0 / 0.7908 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.02094, allocations: 0 / 0.7908 GB, free: 6.422 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007194/0.02165, allocations: 0.7679 MB / 0.7915 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.02169, allocations: 11.16 kB / 0.7915 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.02182, allocations: 56.83 kB / 0.7916 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.02219, allocations: 364.6 kB / 0.7919 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.0222, allocations: 20.88 kB / 0.7919 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.02223, allocations: 29.19 kB / 0.792 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.02246, allocations: 236.7 kB / 0.7922 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.02247, allocations: 0.5938 kB / 0.7922 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.02249, allocations: 13.19 kB / 0.7922 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.0225, allocations: 4 kB / 0.7922 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.72e-05/0.02258, allocations: 71.08 kB / 0.7923 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009074/0.02349, allocations: 0.9211 MB / 0.7932 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.02362, allocations: 129.2 kB / 0.7933 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.02365, allocations: 31.67 kB / 0.7933 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005689/0.02422, allocations: 499.3 kB / 0.7938 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.02424, allocations: 31.5 kB / 0.7938 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.02424, allocations: 0 / 0.7938 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0001902/0.02443, allocations: 156.9 kB / 0.794 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.02446, allocations: 56.34 kB / 0.794 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.02475, allocations: 448.8 kB / 0.7945 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.02477, allocations: 30.33 kB / 0.7945 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.853e-05/0.02486, allocations: 225.2 kB / 0.7947 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.02489, allocations: 60.92 kB / 0.7948 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.02496, allocations: 65.91 kB / 0.7948 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.02506, allocations: 362.6 kB / 0.7952 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-05/0.0251, allocations: 28.8 kB / 0.7952 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.02526, allocations: 374.6 kB / 0.7956 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.02539, allocations: 149.1 kB / 0.7957 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.02539, allocations: 8 kB / 0.7957 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001804/0.02557, allocations: 187.5 kB / 0.7959 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.02558, allocations: 4 kB / 0.7959 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.02559, allocations: 4 kB / 0.7959 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.0256, allocations: 4.938 kB / 0.7959 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.02573, allocations: 67.89 kB / 0.796 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.02574, allocations: 5.156 kB / 0.796 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.02585, allocations: 39.7 kB / 0.796 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.02587, allocations: 12 kB / 0.796 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.264e-05/0.02596, allocations: 116 kB / 0.7961 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001496/0.02611, allocations: 378.8 kB / 0.7965 GB, free: 112 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001196/0.02623, allocations: 147.3 kB / 0.7966 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.02623, allocations: 4 kB / 0.7966 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0001677/0.0264, allocations: 177 kB / 0.7968 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/0.0264, allocations: 4.625 kB / 0.7968 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.0264, allocations: 4 kB / 0.7968 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.416e-06/0.02641, allocations: 5.031 kB / 0.7968 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.02652, allocations: 63.91 kB / 0.7969 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.02652, allocations: 12.86 kB / 0.7969 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.02663, allocations: 27.84 kB / 0.7969 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.02665, allocations: 20.98 kB / 0.7969 GB, free: 15.62 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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 7.642e-05/0.02672, allocations: 200.1 kB / 0.7971 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.02675, allocations: 29 kB / 0.7972 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.02694, allocations: 155.9 kB / 0.7973 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.02694, allocations: 0 / 0.7973 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.02695, allocations: 4 kB / 0.7973 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.02695, allocations: 4.984 kB / 0.7973 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.02736, allocations: 0.5135 MB / 0.7978 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.02736, allocations: 0 / 0.7978 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.02742, allocations: 29.05 kB / 0.7978 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.02742, allocations: 0 / 0.7978 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.02743, allocations: 4 kB / 0.7978 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.02743, allocations: 9.062 kB / 0.7979 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.02744, allocations: 4 kB / 0.7979 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.02759, allocations: 293.8 kB / 0.7981 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.02765, allocations: 59.61 kB / 0.7982 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.02768, allocations: 8 kB / 0.7982 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.02775, allocations: 8.438 kB / 0.7982 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.02779, allocations: 17.56 kB / 0.7982 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.02779, allocations: 4 kB / 0.7982 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001368/0.02793, allocations: 199.2 kB / 0.7984 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.02793, allocations: 0 / 0.7984 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003572/0.02829, allocations: 224 kB / 0.7986 GB, free: 13.8 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 (17): * Single equations (assignments): 15 * 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.001088/0.02938, allocations: 0.5286 MB / 0.7992 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.02959, allocations: 186 kB / 0.7993 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.0296, allocations: 4 kB / 0.7993 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.403e-05/0.02965, allocations: 51.88 kB / 0.7994 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.03016, allocations: 218.5 kB / 0.7996 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.03117, allocations: 0.7775 MB / 0.8004 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.03133, allocations: 228.6 kB / 0.8006 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/0.0317, allocations: 197.5 kB / 0.8008 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of SimCode: time 8.71e-07/0.0317, allocations: 0 / 0.8008 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of Templates: time 0.006994/0.0387, allocations: 7.873 MB / 0.8084 GB, free: 4.016 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.3112085266038775]