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.001304/0.001304, allocations: 80.88 kB / 21.55 MB, free: 2.945 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.001112/0.001112, allocations: 166.1 kB / 24.97 MB, free: 8.656 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.013/1.013, allocations: 177.1 MB / 205.4 MB, free: 5.508 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.993/1.993, allocations: 389.6 MB / 0.6362 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.583e-06/1.583e-06, allocations: 0 / 0.776 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.619e-05, allocations: 2.312 kB / 0.776 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01819/0.01822, allocations: 7.403 MB / 0.7832 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007207/0.02542, allocations: 3.25 MB / 0.7864 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006048/0.02603, allocations: 19.81 kB / 0.7864 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007564/0.02678, allocations: 203.6 kB / 0.7866 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.02779, allocations: 482.6 kB / 0.7871 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.02917, allocations: 0.6977 MB / 0.7877 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.03022, allocations: 0.9931 MB / 0.7887 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/0.03058, allocations: 265.2 kB / 0.789 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005614/0.03115, allocations: 487.9 kB / 0.7894 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.03146, allocations: 251.2 kB / 0.7897 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.0315, allocations: 28.84 kB / 0.7897 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007813/0.03228, allocations: 494.9 kB / 0.7902 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.856e-05/0.03238, allocations: 104.7 kB / 0.7903 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.0325, allocations: 143.6 kB / 0.7904 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007634/0.03327, allocations: 0.5994 MB / 0.791 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.03327, allocations: 5.031 kB / 0.791 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.533e-06/0.03328, allocations: 0 / 0.791 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.03328, allocations: 0 / 0.791 GB, free: 5.992 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.0007853/0.03407, allocations: 0.7073 MB / 0.7917 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.03411, allocations: 9.344 kB / 0.7917 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.34e-05/0.03418, allocations: 56.88 kB / 0.7917 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.03458, allocations: 338.6 kB / 0.7921 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.0346, allocations: 25.75 kB / 0.7921 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.03463, allocations: 31.94 kB / 0.7921 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.03484, allocations: 160.4 kB / 0.7923 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.03485, allocations: 0 / 0.7923 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.03487, allocations: 8.656 kB / 0.7923 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.03487, allocations: 4 kB / 0.7923 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.502e-05/0.03495, allocations: 49.41 kB / 0.7923 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/0.03582, allocations: 0.4905 MB / 0.7928 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.03595, allocations: 117.2 kB / 0.7929 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.03599, allocations: 27.69 kB / 0.793 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.171e-05/0.03608, allocations: 23.98 kB / 0.793 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.0361, allocations: 30.56 kB / 0.793 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.0361, allocations: 1.031 kB / 0.793 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0001959/0.0363, allocations: 116.1 kB / 0.7931 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.03632, allocations: 56.28 kB / 0.7932 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.03658, allocations: 376.9 kB / 0.7935 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.0366, allocations: 29.7 kB / 0.7936 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.344e-05/0.0367, allocations: 187.3 kB / 0.7937 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.03672, allocations: 47.56 kB / 0.7938 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.03679, allocations: 61.62 kB / 0.7938 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.03689, allocations: 350.7 kB / 0.7942 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/0.03694, allocations: 31.53 kB / 0.7942 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.03709, allocations: 350.2 kB / 0.7945 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.03719, allocations: 82.94 kB / 0.7946 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.0372, allocations: 0.6562 kB / 0.7946 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000162/0.03736, allocations: 137.9 kB / 0.7947 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.03737, allocations: 4.656 kB / 0.7948 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.03738, allocations: 3.938 kB / 0.7948 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.03739, allocations: 4.625 kB / 0.7948 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.03753, allocations: 49.88 kB / 0.7948 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.03754, allocations: 4 kB / 0.7948 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.03765, allocations: 23.88 kB / 0.7948 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.03767, allocations: 4 kB / 0.7948 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.687e-05/0.03776, allocations: 109.8 kB / 0.7949 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001506/0.03791, allocations: 365.1 kB / 0.7953 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.809e-05/0.03799, allocations: 91.78 kB / 0.7954 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.033e-06/0.038, allocations: 4 kB / 0.7954 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0001494/0.03815, allocations: 139.3 kB / 0.7955 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.03815, allocations: 4 kB / 0.7955 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-06/0.03816, allocations: 0.625 kB / 0.7955 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.922e-06/0.03816, allocations: 12.47 kB / 0.7955 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.03826, allocations: 47.97 kB / 0.7956 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-06/0.03827, allocations: 1.594 kB / 0.7956 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.03837, allocations: 23.89 kB / 0.7956 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.03838, allocations: 7.984 kB / 0.7956 GB, free: 0.8945 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 9.634e-05/0.03848, allocations: 201 kB / 0.7958 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.03851, allocations: 23.97 kB / 0.7958 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.03872, allocations: 145.7 kB / 0.796 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.03872, allocations: 1.656 kB / 0.796 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.03873, allocations: 4 kB / 0.796 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.0388, allocations: 47.69 kB / 0.796 GB, free: 484 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.03882, allocations: 0 / 0.796 GB, free: 484 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/0.0389, allocations: 12.58 kB / 0.796 GB, free: 472 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.03894, allocations: 7.984 kB / 0.796 GB, free: 464 kB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000139/0.03908, allocations: 212.4 kB / 0.7962 GB, free: 248 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001839/0.03926, allocations: 328.2 kB / 0.7965 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.114e-05/0.03931, allocations: 37.61 kB / 0.7966 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001323/0.03944, allocations: 156.7 kB / 0.7967 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of Backend: time 3.61e-07/0.03944, allocations: 1 kB / 0.7967 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001909/0.04135, allocations: 0.7941 MB / 0.7975 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of SimCode: time 0.001714/0.04307, allocations: 1.358 MB / 0.7988 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of Templates: time 0.01309/0.05616, allocations: 9.755 MB / 0.8084 GB, free: 4.301 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.492963274009526]