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.0009943/0.0009943, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001607/0.001607, allocations: 167.2 kB / 25.05 MB, free: 9.199 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.9386/0.9386, allocations: 177.1 MB / 205.5 MB, free: 5.449 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.842/1.842, allocations: 389.6 MB / 0.6363 GB, free: 12.24 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.112e-06/1.112e-06, allocations: 0 / 0.7761 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.617e-05, allocations: 8 kB / 0.7761 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.006716/0.006732, allocations: 7.554 MB / 0.7835 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003774/0.01051, allocations: 3.126 MB / 0.7866 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.01078, allocations: 19.81 kB / 0.7866 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005568/0.01134, allocations: 195.2 kB / 0.7868 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0009019/0.01224, allocations: 497.5 kB / 0.7873 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.01358, allocations: 0.7232 MB / 0.788 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001141/0.01472, allocations: 0.9466 MB / 0.7889 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.01502, allocations: 273.8 kB / 0.7891 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004184/0.01544, allocations: 474.7 kB / 0.7896 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.0157, allocations: 255.2 kB / 0.7898 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.01574, allocations: 30.19 kB / 0.7899 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006836/0.01643, allocations: 0.5379 MB / 0.7904 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.01654, allocations: 143.5 kB / 0.7905 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.01666, allocations: 155.5 kB / 0.7907 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007153/0.01737, allocations: 0.6812 MB / 0.7913 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.01737, allocations: 0.875 kB / 0.7913 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.393e-06/0.01738, allocations: 0 / 0.7913 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.01738, allocations: 0.7812 kB / 0.7913 GB, free: 5.66 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.0007278/0.01811, allocations: 0.7725 MB / 0.7921 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.01814, allocations: 9.344 kB / 0.7921 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.01827, allocations: 68.81 kB / 0.7922 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.01866, allocations: 354.4 kB / 0.7925 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.01868, allocations: 20.88 kB / 0.7925 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.01871, allocations: 36.31 kB / 0.7926 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.01893, allocations: 228.8 kB / 0.7928 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.01894, allocations: 1.094 kB / 0.7928 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.01896, allocations: 15.98 kB / 0.7928 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.01897, allocations: 4 kB / 0.7928 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.997e-05/0.01906, allocations: 75.66 kB / 0.7929 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008601/0.01992, allocations: 0.9188 MB / 0.7938 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.02006, allocations: 128.5 kB / 0.7939 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.0201, allocations: 35.67 kB / 0.7939 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000598/0.02069, allocations: 484.6 kB / 0.7944 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.02072, allocations: 42.56 kB / 0.7944 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/0.02072, allocations: 0 / 0.7944 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0002/0.02092, allocations: 157.4 kB / 0.7946 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.02095, allocations: 51.41 kB / 0.7946 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.02124, allocations: 448.8 kB / 0.7951 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.02126, allocations: 33.7 kB / 0.7951 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.02136, allocations: 222.7 kB / 0.7953 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.02138, allocations: 51.58 kB / 0.7954 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.02145, allocations: 69.84 kB / 0.7954 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003542/0.0218, allocations: 366.6 kB / 0.7958 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.663e-05/0.02185, allocations: 33.83 kB / 0.7958 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.02201, allocations: 370.1 kB / 0.7962 GB, free: 448 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.02214, allocations: 155.8 kB / 0.7963 GB, free: 260 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.02214, allocations: 0 / 0.7963 GB, free: 260 kB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001771/0.02232, allocations: 188.9 kB / 0.7965 GB, free: 64 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.02233, allocations: 10.34 kB / 0.7965 GB, free: 56 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.02234, allocations: 0.9375 kB / 0.7965 GB, free: 56 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.02235, allocations: 4 kB / 0.7965 GB, free: 52 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.02251, allocations: 59.95 kB / 0.7966 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.02251, allocations: 9.188 kB / 0.7966 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.02263, allocations: 39.66 kB / 0.7966 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.02265, allocations: 12 kB / 0.7966 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.181e-05/0.02273, allocations: 115.2 kB / 0.7967 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001595/0.02289, allocations: 382.9 kB / 0.7971 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001238/0.02301, allocations: 156.3 kB / 0.7972 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.01e-07/0.02301, allocations: 0 / 0.7972 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0001711/0.02318, allocations: 183 kB / 0.7974 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.02319, allocations: 9.156 kB / 0.7974 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-06/0.02319, allocations: 0 / 0.7974 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.057e-06/0.0232, allocations: 4 kB / 0.7974 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.02331, allocations: 60.53 kB / 0.7975 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.02331, allocations: 4 kB / 0.7975 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.02343, allocations: 37.77 kB / 0.7975 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.02344, allocations: 12 kB / 0.7975 GB, free: 14.85 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 8.019e-05/0.02352, allocations: 204.1 kB / 0.7977 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.02356, allocations: 32.97 kB / 0.7978 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.02376, allocations: 149.2 kB / 0.7979 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.02376, allocations: 9.891 kB / 0.7979 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.02377, allocations: 0 / 0.7979 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.02377, allocations: 0 / 0.7979 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.02417, allocations: 0.5091 MB / 0.7984 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.02417, allocations: 4 kB / 0.7984 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.02424, allocations: 33.8 kB / 0.7984 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.02424, allocations: 7.938 kB / 0.7985 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.02425, allocations: 4 kB / 0.7985 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.02425, allocations: 11.92 kB / 0.7985 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.02425, allocations: 0 / 0.7985 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.0244, allocations: 291.5 kB / 0.7987 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.02446, allocations: 59.62 kB / 0.7988 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.02449, allocations: 5 kB / 0.7988 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.02456, allocations: 16.11 kB / 0.7988 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.02459, allocations: 12.89 kB / 0.7988 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.0246, allocations: 7.984 kB / 0.7988 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001388/0.02474, allocations: 203.2 kB / 0.799 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02474, allocations: 1.062 kB / 0.799 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003595/0.0251, allocations: 215.5 kB / 0.7992 GB, free: 13.02 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.001044/0.02614, allocations: 0.5082 MB / 0.7997 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.02637, allocations: 180.4 kB / 0.7999 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.02637, allocations: 4.594 kB / 0.7999 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.478e-05/0.02643, allocations: 53.7 kB / 0.8 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.02695, allocations: 218.1 kB / 0.8002 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009927/0.02795, allocations: 0.7399 MB / 0.8009 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.519e-05/0.02802, allocations: 125.9 kB / 0.801 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001602/0.02818, allocations: 71.17 kB / 0.8011 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.02844, allocations: 198.4 kB / 0.8013 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of SimCode: time 5.91e-07/0.02844, allocations: 4 kB / 0.8013 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of Templates: time 0.01131/0.03975, allocations: 10.16 MB / 0.8112 GB, free: 1.227 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.134022738784552]