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.001241/0.001241, allocations: 80.8 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.002028/0.002028, allocations: 161 kB / 24.16 MB, free: 336 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.9628/0.9628, allocations: 177.2 MB / 204.6 MB, free: 5.461 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.866/1.866, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.523e-06/1.523e-06, allocations: 0 / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.782e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.006421/0.006439, allocations: 7.504 MB / 0.7825 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003338/0.009776, allocations: 3.141 MB / 0.7856 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.009993, allocations: 23.81 kB / 0.7856 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004937/0.01049, allocations: 187.8 kB / 0.7858 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006246/0.01111, allocations: 0.4928 MB / 0.7863 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.01212, allocations: 0.7496 MB / 0.787 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006773/0.0128, allocations: 0.9427 MB / 0.7879 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.01308, allocations: 291.2 kB / 0.7882 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006333/0.01371, allocations: 0.5126 MB / 0.7887 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.01395, allocations: 251.7 kB / 0.7889 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.01399, allocations: 28 kB / 0.789 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000526/0.01452, allocations: 0.5236 MB / 0.7895 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.564e-05/0.01461, allocations: 143.5 kB / 0.7896 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.01473, allocations: 155.5 kB / 0.7898 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006652/0.01539, allocations: 0.6896 MB / 0.7904 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.01539, allocations: 0 / 0.7904 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.12e-07/0.01539, allocations: 0.5312 kB / 0.7904 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.0154, allocations: 1.75 kB / 0.7904 GB, free: 5.797 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.0007496/0.01615, allocations: 0.7629 MB / 0.7912 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.01618, allocations: 16.59 kB / 0.7912 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.01629, allocations: 60.88 kB / 0.7912 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.01665, allocations: 369.3 kB / 0.7916 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.01667, allocations: 20.88 kB / 0.7916 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.0167, allocations: 32.36 kB / 0.7916 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.01698, allocations: 240.7 kB / 0.7919 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.017, allocations: 4 kB / 0.7919 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.01701, allocations: 8 kB / 0.7919 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.01702, allocations: 8 kB / 0.7919 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-05/0.01711, allocations: 71.72 kB / 0.792 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008289/0.01794, allocations: 0.9069 MB / 0.7929 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.01806, allocations: 125.8 kB / 0.793 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.01809, allocations: 36.58 kB / 0.793 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000531/0.01862, allocations: 488.8 kB / 0.7935 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.01864, allocations: 34.56 kB / 0.7935 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.01864, allocations: 0 / 0.7935 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0003/0.01894, allocations: 160.6 kB / 0.7937 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.01897, allocations: 51.41 kB / 0.7937 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.01923, allocations: 448.8 kB / 0.7941 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.01925, allocations: 33.69 kB / 0.7942 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.01934, allocations: 221.2 kB / 0.7944 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.01936, allocations: 59.45 kB / 0.7944 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.01942, allocations: 69.91 kB / 0.7945 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.01951, allocations: 362.6 kB / 0.7948 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.01954, allocations: 32.8 kB / 0.7949 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.01969, allocations: 367.5 kB / 0.7952 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.01981, allocations: 167.7 kB / 0.7954 GB, free: 392 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01981, allocations: 1.312 kB / 0.7954 GB, free: 392 kB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001748/0.01998, allocations: 174.4 kB / 0.7956 GB, free: 212 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.01999, allocations: 8 kB / 0.7956 GB, free: 204 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.02, allocations: 0 / 0.7956 GB, free: 204 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.02001, allocations: 5.406 kB / 0.7956 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.02013, allocations: 63.91 kB / 0.7956 GB, free: 136 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.02014, allocations: 4 kB / 0.7956 GB, free: 132 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.02025, allocations: 44.22 kB / 0.7957 GB, free: 88 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.02027, allocations: 12 kB / 0.7957 GB, free: 76 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.928e-05/0.02036, allocations: 115.2 kB / 0.7958 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000136/0.0205, allocations: 378.9 kB / 0.7962 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001047/0.0206, allocations: 151.5 kB / 0.7963 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.0206, allocations: 5.062 kB / 0.7963 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0001585/0.02076, allocations: 178.5 kB / 0.7965 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.729e-06/0.02077, allocations: 4 kB / 0.7965 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.02077, allocations: 4 kB / 0.7965 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.02078, allocations: 4.781 kB / 0.7965 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.02088, allocations: 59.91 kB / 0.7965 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.02088, allocations: 8.938 kB / 0.7966 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.021, allocations: 31.83 kB / 0.7966 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.02101, allocations: 12.91 kB / 0.7966 GB, free: 15 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 6.868e-05/0.02108, allocations: 200.7 kB / 0.7968 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.02111, allocations: 27.97 kB / 0.7968 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.02151, allocations: 150.3 kB / 0.797 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.02152, allocations: 8.891 kB / 0.797 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.02152, allocations: 4 kB / 0.797 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.02152, allocations: 1 kB / 0.797 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.0219, allocations: 0.5151 MB / 0.7975 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.0219, allocations: 0 / 0.7975 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-05/0.02196, allocations: 27.92 kB / 0.7975 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.02196, allocations: 4 kB / 0.7975 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.02197, allocations: 8.812 kB / 0.7975 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.02197, allocations: 5.781 kB / 0.7975 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.02197, allocations: 0 / 0.7975 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.02212, allocations: 302.1 kB / 0.7978 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.02218, allocations: 51.69 kB / 0.7979 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.02221, allocations: 8 kB / 0.7979 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.02228, allocations: 9.094 kB / 0.7979 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.02231, allocations: 15.97 kB / 0.7979 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.02232, allocations: 4.656 kB / 0.7979 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001365/0.02245, allocations: 203.2 kB / 0.7981 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02245, allocations: 1 kB / 0.7981 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003491/0.0228, allocations: 211.5 kB / 0.7983 GB, free: 13.19 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.0009738/0.02378, allocations: 0.5244 MB / 0.7988 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.02397, allocations: 183.3 kB / 0.799 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.02398, allocations: 8.844 kB / 0.799 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.202e-05/0.02403, allocations: 58.16 kB / 0.799 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.02452, allocations: 224.5 kB / 0.7993 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00091/0.02543, allocations: 0.7332 MB / 0.8 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.849e-05/0.0255, allocations: 121.5 kB / 0.8001 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001386/0.02564, allocations: 62.8 kB / 0.8001 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.0259, allocations: 198.5 kB / 0.8003 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of SimCode: time 5.71e-07/0.0259, allocations: 0 / 0.8003 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of Templates: time 0.01085/0.03675, allocations: 10.15 MB / 0.8102 GB, free: 1.383 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 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.086890226695687]