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.0008487/0.0008487, 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.0008867/0.0008867, allocations: 168.9 kB / 25.18 MB, free: 8.922 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.9491/0.9491, allocations: 177.2 MB / 205.6 MB, free: 5.375 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.854/1.854, allocations: 389.6 MB / 0.6364 GB, free: 12.21 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.734e-06/1.734e-06, allocations: 0 / 0.7755 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.689e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01037/0.0104, allocations: 7.399 MB / 0.7828 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006018/0.01642, allocations: 3.241 MB / 0.7859 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006955/0.01711, allocations: 23.81 kB / 0.786 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009338/0.01805, allocations: 203.5 kB / 0.7861 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.01953, allocations: 469.1 kB / 0.7866 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.0216, allocations: 0.7055 MB / 0.7873 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.0231, allocations: 0.9882 MB / 0.7883 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005502/0.02365, allocations: 261.2 kB / 0.7885 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009392/0.02459, allocations: 490.7 kB / 0.789 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005076/0.0251, allocations: 255.2 kB / 0.7892 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.524e-05/0.02519, allocations: 28 kB / 0.7892 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.02623, allocations: 490 kB / 0.7897 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.02636, allocations: 107.5 kB / 0.7898 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.02657, allocations: 151.5 kB / 0.79 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.02774, allocations: 0.5956 MB / 0.7905 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.02775, allocations: 0 / 0.7905 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.443e-06/0.02775, allocations: 0 / 0.7905 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.02776, allocations: 0 / 0.7905 GB, free: 6.629 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.001236/0.029, allocations: 0.7102 MB / 0.7912 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.02904, allocations: 13.34 kB / 0.7912 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.02917, allocations: 49.95 kB / 0.7913 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/0.02975, allocations: 339.1 kB / 0.7916 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.02979, allocations: 20.88 kB / 0.7916 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.02983, allocations: 31.94 kB / 0.7917 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.03015, allocations: 155.6 kB / 0.7918 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.03016, allocations: 6.375 kB / 0.7918 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.03018, allocations: 12 kB / 0.7918 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.03019, allocations: 4 kB / 0.7918 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.03031, allocations: 47.47 kB / 0.7919 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.03141, allocations: 0.4932 MB / 0.7924 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.03158, allocations: 110.2 kB / 0.7925 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.03163, allocations: 31.66 kB / 0.7925 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.03174, allocations: 17.58 kB / 0.7925 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.03177, allocations: 38.56 kB / 0.7925 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.904e-06/0.03177, allocations: 4 kB / 0.7926 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002608/0.03203, allocations: 105.5 kB / 0.7927 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.03207, allocations: 56.5 kB / 0.7927 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.03242, allocations: 372.9 kB / 0.7931 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.03244, allocations: 33.7 kB / 0.7931 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.03256, allocations: 182.2 kB / 0.7933 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.0326, allocations: 55.56 kB / 0.7933 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-05/0.03269, allocations: 58.28 kB / 0.7934 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.03283, allocations: 350.7 kB / 0.7937 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.03289, allocations: 32.16 kB / 0.7937 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.03311, allocations: 343.5 kB / 0.7941 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.03324, allocations: 92.5 kB / 0.7942 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.03324, allocations: 0 / 0.7942 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002607/0.0335, allocations: 135.1 kB / 0.7943 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.03352, allocations: 7.938 kB / 0.7943 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.03353, allocations: 1.062 kB / 0.7943 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.03354, allocations: 4 kB / 0.7943 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.03373, allocations: 47.91 kB / 0.7943 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.03374, allocations: 1.969 kB / 0.7943 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.03391, allocations: 23.88 kB / 0.7944 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.03394, allocations: 12 kB / 0.7944 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001148/0.03406, allocations: 105.8 kB / 0.7945 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001889/0.03425, allocations: 360 kB / 0.7948 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001269/0.03437, allocations: 104.1 kB / 0.7949 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.03437, allocations: 0 / 0.7949 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0002104/0.03458, allocations: 137.6 kB / 0.7951 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.0346, allocations: 7.688 kB / 0.7951 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.488e-05/0.03467, allocations: 8.031 kB / 0.7951 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/0.03468, allocations: 8.984 kB / 0.7951 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.03483, allocations: 43.92 kB / 0.7951 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.03483, allocations: 0 / 0.7951 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.03501, allocations: 29.34 kB / 0.7951 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.03503, allocations: 15.98 kB / 0.7952 GB, free: 1.523 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 0.0001003/0.03513, allocations: 188.7 kB / 0.7953 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.03519, allocations: 27.97 kB / 0.7954 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.03548, allocations: 146.4 kB / 0.7955 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.03549, allocations: 8 kB / 0.7955 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.03549, allocations: 0 / 0.7955 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.0355, allocations: 0.9062 kB / 0.7955 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.03614, allocations: 0.49 MB / 0.796 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.03614, allocations: 5 kB / 0.796 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.582e-05/0.03624, allocations: 23.98 kB / 0.796 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.03624, allocations: 0 / 0.796 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.03626, allocations: 8.906 kB / 0.796 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.03626, allocations: 7.984 kB / 0.796 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.03626, allocations: 4.938 kB / 0.796 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.0365, allocations: 282.8 kB / 0.7963 GB, free: 272 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/0.03659, allocations: 57.34 kB / 0.7964 GB, free: 216 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.03663, allocations: 12 kB / 0.7964 GB, free: 204 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.03676, allocations: 4 kB / 0.7964 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.0368, allocations: 23.84 kB / 0.7964 GB, free: 176 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.03682, allocations: 4.625 kB / 0.7964 GB, free: 172 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001802/0.037, allocations: 159.5 kB / 0.7966 GB, free: 8 kB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.037, allocations: 0.5 kB / 0.7966 GB, free: 8 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006196/0.03762, allocations: 205.2 kB / 0.7968 GB, free: 15.81 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.00171/0.03933, allocations: 0.4915 MB / 0.7972 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000353/0.03968, allocations: 151 kB / 0.7974 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/0.03969, allocations: 4 kB / 0.7974 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.075e-05/0.03977, allocations: 48.58 kB / 0.7974 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006897/0.04046, allocations: 181.4 kB / 0.7976 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.04205, allocations: 0.6992 MB / 0.7983 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.04226, allocations: 216.6 kB / 0.7985 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.04266, allocations: 172.3 kB / 0.7987 GB, free: 14 MB / 0.7605 GB Notification: Performance of SimCode: time 1.383e-06/0.04266, allocations: 3.938 kB / 0.7987 GB, free: 14 MB / 0.7605 GB Notification: Performance of Templates: time 0.01224/0.05491, allocations: 6.586 MB / 0.8051 GB, free: 7.516 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 > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.230363514274359]