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.0009761/0.0009761, 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.001324/0.001324, allocations: 161 kB / 24.17 MB, free: 332 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.9715/0.9715, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.951/1.951, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.793e-06/1.793e-06, allocations: 0 / 0.7752 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.936e-05, allocations: 6.906 kB / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.006762/0.006781, allocations: 7.551 MB / 0.7826 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00325/0.01003, allocations: 3.149 MB / 0.7857 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.01025, allocations: 20.56 kB / 0.7857 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006609/0.01091, allocations: 195.7 kB / 0.7859 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006398/0.01155, allocations: 493 kB / 0.7863 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009037/0.01245, allocations: 0.7287 MB / 0.787 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000701/0.01315, allocations: 0.9471 MB / 0.788 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.01344, allocations: 282.8 kB / 0.7882 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003935/0.01383, allocations: 470.7 kB / 0.7887 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.01407, allocations: 252.1 kB / 0.7889 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.01411, allocations: 28 kB / 0.789 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000559/0.01467, allocations: 0.5386 MB / 0.7895 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.422e-05/0.01476, allocations: 148.1 kB / 0.7896 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.01487, allocations: 155.6 kB / 0.7898 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006241/0.0155, allocations: 0.6858 MB / 0.7904 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.0155, allocations: 0 / 0.7904 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.0155, allocations: 1.125 kB / 0.7904 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.0155, allocations: 0 / 0.7904 GB, free: 5.781 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.0006698/0.01617, allocations: 0.7682 MB / 0.7912 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.0162, allocations: 13.34 kB / 0.7912 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.01632, allocations: 66.31 kB / 0.7913 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.01668, allocations: 357.7 kB / 0.7916 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.01669, allocations: 20.88 kB / 0.7916 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.01672, allocations: 32.31 kB / 0.7917 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.01693, allocations: 228.8 kB / 0.7919 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.01694, allocations: 0.6562 kB / 0.7919 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.01696, allocations: 12 kB / 0.7919 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.01696, allocations: 11.16 kB / 0.7919 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.79e-05/0.01705, allocations: 78.22 kB / 0.792 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.01811, allocations: 0.9075 MB / 0.7929 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.01826, allocations: 129.2 kB / 0.793 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.01831, allocations: 47.58 kB / 0.793 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007001/0.01901, allocations: 487.9 kB / 0.7935 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.01903, allocations: 36.12 kB / 0.7935 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.01903, allocations: 0 / 0.7935 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0002179/0.01925, allocations: 157.5 kB / 0.7937 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.01927, allocations: 51.41 kB / 0.7937 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/0.01963, allocations: 444.8 kB / 0.7942 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.01965, allocations: 34.98 kB / 0.7942 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.01977, allocations: 221.2 kB / 0.7944 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.0198, allocations: 51.52 kB / 0.7945 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/0.01988, allocations: 74.55 kB / 0.7945 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.01998, allocations: 362.6 kB / 0.7949 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.02004, allocations: 37.64 kB / 0.7949 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.02021, allocations: 362.1 kB / 0.7952 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003164/0.02337, allocations: 160 kB / 0.7954 GB, free: 388 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.02338, allocations: 0 / 0.7954 GB, free: 388 kB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002283/0.02361, allocations: 184.7 kB / 0.7956 GB, free: 196 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.02362, allocations: 8.938 kB / 0.7956 GB, free: 188 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.02362, allocations: 0 / 0.7956 GB, free: 188 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.02364, allocations: 4.688 kB / 0.7956 GB, free: 184 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.02381, allocations: 59.91 kB / 0.7956 GB, free: 124 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.02381, allocations: 8.5 kB / 0.7957 GB, free: 116 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.02398, allocations: 44.98 kB / 0.7957 GB, free: 72 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.024, allocations: 8 kB / 0.7957 GB, free: 64 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001138/0.02411, allocations: 118.3 kB / 0.7958 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001701/0.02428, allocations: 375.6 kB / 0.7962 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001402/0.02442, allocations: 156 kB / 0.7963 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.183e-06/0.02442, allocations: 0 / 0.7963 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0002149/0.02464, allocations: 178.4 kB / 0.7965 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.02465, allocations: 12.55 kB / 0.7965 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.02465, allocations: 9.078 kB / 0.7965 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/0.02466, allocations: 7.984 kB / 0.7965 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.0248, allocations: 55.91 kB / 0.7966 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.0248, allocations: 4.906 kB / 0.7966 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.02496, allocations: 39.83 kB / 0.7966 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.02498, allocations: 8.719 kB / 0.7966 GB, free: 14.98 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.945e-05/0.02506, allocations: 197.3 kB / 0.7968 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.02511, allocations: 31.97 kB / 0.7968 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.02533, allocations: 154.1 kB / 0.797 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.02534, allocations: 4 kB / 0.797 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.02534, allocations: 8.922 kB / 0.797 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.02535, allocations: 0 / 0.797 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004849/0.02583, allocations: 0.5095 MB / 0.7975 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.02583, allocations: 0.8125 kB / 0.7975 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.137e-05/0.02591, allocations: 35.92 kB / 0.7975 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.02592, allocations: 4.812 kB / 0.7975 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.02593, allocations: 0 / 0.7975 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.02593, allocations: 9.312 kB / 0.7976 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02593, allocations: 0 / 0.7976 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.02611, allocations: 290.4 kB / 0.7978 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/0.02619, allocations: 64.22 kB / 0.7979 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.02623, allocations: 0 / 0.7979 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.02634, allocations: 12.59 kB / 0.7979 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.02638, allocations: 16.5 kB / 0.7979 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.02639, allocations: 8 kB / 0.7979 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001916/0.02658, allocations: 204.3 kB / 0.7981 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02658, allocations: 0 / 0.7981 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005231/0.02711, allocations: 215.5 kB / 0.7983 GB, free: 13.16 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.001233/0.02834, allocations: 0.5111 MB / 0.7988 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.02861, allocations: 185.1 kB / 0.799 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.02861, allocations: 4.844 kB / 0.799 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.817e-05/0.02868, allocations: 54.78 kB / 0.7991 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/0.03238, allocations: 223.5 kB / 0.7993 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.03372, allocations: 0.7291 MB / 0.8 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.004e-05/0.03381, allocations: 125.5 kB / 0.8001 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001911/0.034, allocations: 72.27 kB / 0.8002 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.03434, allocations: 193.2 kB / 0.8004 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of SimCode: time 7.82e-07/0.03434, allocations: 0 / 0.8004 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of Templates: time 0.03257/0.06692, allocations: 10.16 MB / 0.8103 GB, free: 1.363 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 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.285981553606689]