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.001419/0.001419, allocations: 80.88 kB / 20.83 MB, free: 3.629 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.001097/0.001097, allocations: 169 kB / 24.25 MB, free: 208 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.9453/0.9453, allocations: 177.1 MB / 204.7 MB, free: 5.48 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.908/1.908, allocations: 389.6 MB / 0.6355 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.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.964e-06/1.964e-06, allocations: 0 / 0.7754 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/2.028e-05, allocations: 2.938 kB / 0.7754 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.009728/0.009749, allocations: 7.407 MB / 0.7826 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00451/0.01426, allocations: 3.236 MB / 0.7858 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004622/0.01472, allocations: 25.53 kB / 0.7858 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007388/0.01546, allocations: 202.6 kB / 0.786 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008923/0.01635, allocations: 479.3 kB / 0.7864 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.01761, allocations: 0.6923 MB / 0.7871 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009941/0.01861, allocations: 0.9854 MB / 0.7881 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.01897, allocations: 270.7 kB / 0.7883 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005621/0.01953, allocations: 486.6 kB / 0.7888 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003198/0.01985, allocations: 259.2 kB / 0.789 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.01989, allocations: 25 kB / 0.7891 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006909/0.02059, allocations: 491 kB / 0.7895 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.02068, allocations: 108.6 kB / 0.7896 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.0208, allocations: 147.5 kB / 0.7898 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007151/0.02152, allocations: 0.5994 MB / 0.7904 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.02152, allocations: 1.219 kB / 0.7904 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.02152, allocations: 0 / 0.7904 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.02153, allocations: 0 / 0.7904 GB, free: 5.945 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.001071/0.0226, allocations: 0.7149 MB / 0.7911 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.02263, allocations: 9.344 kB / 0.7911 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.557e-05/0.02271, allocations: 52.89 kB / 0.7911 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.02309, allocations: 335.6 kB / 0.7914 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.02311, allocations: 20.88 kB / 0.7915 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.02313, allocations: 27.94 kB / 0.7915 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.02335, allocations: 160.2 kB / 0.7916 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.02336, allocations: 0 / 0.7916 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.02337, allocations: 13.56 kB / 0.7917 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.02338, allocations: 4 kB / 0.7917 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.798e-05/0.02345, allocations: 47.47 kB / 0.7917 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/0.02419, allocations: 0.4908 MB / 0.7922 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.02431, allocations: 117.3 kB / 0.7923 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.02435, allocations: 27.67 kB / 0.7923 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.289e-05/0.02443, allocations: 16.89 kB / 0.7923 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.02445, allocations: 38.56 kB / 0.7924 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.02445, allocations: 0 / 0.7924 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0001931/0.02464, allocations: 102.6 kB / 0.7925 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.02468, allocations: 59.39 kB / 0.7925 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.02492, allocations: 382.3 kB / 0.7929 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.02494, allocations: 33.7 kB / 0.7929 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.89e-05/0.02503, allocations: 173.6 kB / 0.7931 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.02506, allocations: 55.56 kB / 0.7931 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.02512, allocations: 58.84 kB / 0.7932 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.02522, allocations: 354.7 kB / 0.7935 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.352e-05/0.02527, allocations: 27.55 kB / 0.7936 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.02542, allocations: 353.5 kB / 0.7939 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.02553, allocations: 86.05 kB / 0.794 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.02553, allocations: 0.75 kB / 0.794 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001438/0.02567, allocations: 135.1 kB / 0.7941 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.02569, allocations: 8.562 kB / 0.7941 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.02569, allocations: 4 kB / 0.7941 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.0257, allocations: 1.969 kB / 0.7941 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.02583, allocations: 47.91 kB / 0.7942 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.02583, allocations: 0 / 0.7942 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.02593, allocations: 23.89 kB / 0.7942 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.02595, allocations: 13.05 kB / 0.7942 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.137e-05/0.02604, allocations: 109.8 kB / 0.7943 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001371/0.02617, allocations: 356 kB / 0.7946 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.53e-05/0.02626, allocations: 98.55 kB / 0.7947 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.51e-07/0.02626, allocations: 3.938 kB / 0.7947 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0001462/0.0264, allocations: 139.8 kB / 0.7949 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.613e-06/0.02641, allocations: 8 kB / 0.7949 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-06/0.02641, allocations: 1.906 kB / 0.7949 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/0.02642, allocations: 3.938 kB / 0.7949 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.586e-05/0.02651, allocations: 43.97 kB / 0.7949 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.02652, allocations: 7.938 kB / 0.7949 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.02662, allocations: 28.47 kB / 0.795 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.02663, allocations: 8 kB / 0.795 GB, free: 0.8516 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 7.655e-05/0.02671, allocations: 185.4 kB / 0.7952 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.02674, allocations: 27.97 kB / 0.7952 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.02694, allocations: 164.6 kB / 0.7953 GB, free: 488 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.02694, allocations: 0 / 0.7953 GB, free: 488 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.02694, allocations: 0.625 kB / 0.7953 GB, free: 488 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.02695, allocations: 3.984 kB / 0.7953 GB, free: 484 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.02737, allocations: 0.4946 MB / 0.7958 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.02738, allocations: 192 / 0.7958 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.02744, allocations: 24.89 kB / 0.7958 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.02744, allocations: 4 kB / 0.7959 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.02745, allocations: 7.984 kB / 0.7959 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.02746, allocations: 8.719 kB / 0.7959 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.02746, allocations: 0 / 0.7959 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.02763, allocations: 285.8 kB / 0.7961 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.02768, allocations: 47.7 kB / 0.7962 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.02771, allocations: 8.906 kB / 0.7962 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.02778, allocations: 7.984 kB / 0.7962 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.02782, allocations: 21.67 kB / 0.7962 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.02783, allocations: 7.984 kB / 0.7962 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001185/0.02795, allocations: 163.5 kB / 0.7964 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.02795, allocations: 0 / 0.7964 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003621/0.02831, allocations: 187.5 kB / 0.7966 GB, free: 15.14 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.001113/0.02942, allocations: 0.497 MB / 0.7971 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.02965, allocations: 157.4 kB / 0.7972 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.02966, allocations: 4 kB / 0.7972 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.371e-05/0.02971, allocations: 42.69 kB / 0.7972 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.03015, allocations: 176.5 kB / 0.7974 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.03144, allocations: 0.6767 MB / 0.7981 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.397e-05/0.03151, allocations: 106.2 kB / 0.7982 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001601/0.03167, allocations: 64.44 kB / 0.7982 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.03191, allocations: 167.2 kB / 0.7984 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of SimCode: time 9.62e-07/0.03191, allocations: 0 / 0.7984 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of Templates: time 0.01076/0.04267, allocations: 8.113 MB / 0.8063 GB, free: 5.566 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.2322857128456235]