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.000968/0.000968, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.001193/0.001193, allocations: 161 kB / 24.96 MB, free: 8.715 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.8961/0.8961, allocations: 177.1 MB / 205.4 MB, free: 5.473 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.888/1.888, 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.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.734e-06/1.734e-06, allocations: 0 / 0.776 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.156e-05, allocations: 9.344 kB / 0.776 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.006921/0.006943, allocations: 7.556 MB / 0.7833 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003752/0.01069, allocations: 3.144 MB / 0.7864 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.01096, allocations: 20.5 kB / 0.7864 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.01149, allocations: 195.5 kB / 0.7866 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007077/0.0122, allocations: 0.4895 MB / 0.7871 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.01325, allocations: 0.718 MB / 0.7878 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007231/0.01397, allocations: 0.9427 MB / 0.7887 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.01426, allocations: 277.7 kB / 0.789 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004108/0.01467, allocations: 480 kB / 0.7894 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.01491, allocations: 251.2 kB / 0.7897 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.01495, allocations: 33.5 kB / 0.7897 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006154/0.01556, allocations: 0.534 MB / 0.7902 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.584e-05/0.01566, allocations: 151.4 kB / 0.7904 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.01576, allocations: 152.2 kB / 0.7905 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006727/0.01644, allocations: 0.69 MB / 0.7912 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.01644, allocations: 0 / 0.7912 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.01644, allocations: 0 / 0.7912 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.01645, allocations: 4.5 kB / 0.7912 GB, free: 5.773 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.000689/0.01714, allocations: 0.7678 MB / 0.792 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.01717, allocations: 10.66 kB / 0.792 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.01729, allocations: 60.83 kB / 0.792 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.01768, allocations: 361.2 kB / 0.7924 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.01769, allocations: 28.88 kB / 0.7924 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.01772, allocations: 29.66 kB / 0.7924 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.01794, allocations: 228.8 kB / 0.7926 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.01795, allocations: 3.938 kB / 0.7926 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.01796, allocations: 8.875 kB / 0.7927 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.01797, allocations: 8 kB / 0.7927 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-05/0.01806, allocations: 75 kB / 0.7927 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.01913, allocations: 0.9135 MB / 0.7936 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.01925, allocations: 129.1 kB / 0.7937 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.01928, allocations: 31.67 kB / 0.7938 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005428/0.01982, allocations: 0.4884 MB / 0.7943 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.01984, allocations: 38.5 kB / 0.7943 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.01984, allocations: 0 / 0.7943 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0001704/0.02001, allocations: 150.6 kB / 0.7944 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.02004, allocations: 55.41 kB / 0.7945 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.0203, allocations: 449.8 kB / 0.7949 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.02032, allocations: 29.7 kB / 0.7949 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.02041, allocations: 221.2 kB / 0.7952 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.02043, allocations: 57.55 kB / 0.7952 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.0205, allocations: 69.89 kB / 0.7953 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.02058, allocations: 358.6 kB / 0.7956 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.854e-05/0.02062, allocations: 36.73 kB / 0.7957 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.02076, allocations: 373.2 kB / 0.796 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.02088, allocations: 163 kB / 0.7962 GB, free: 376 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.02088, allocations: 1.812 kB / 0.7962 GB, free: 376 kB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001641/0.02105, allocations: 183.9 kB / 0.7963 GB, free: 184 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.02106, allocations: 8 kB / 0.7964 GB, free: 176 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.02106, allocations: 5.719 kB / 0.7964 GB, free: 172 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.02107, allocations: 4 kB / 0.7964 GB, free: 168 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.0212, allocations: 59.91 kB / 0.7964 GB, free: 108 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.02121, allocations: 4 kB / 0.7964 GB, free: 104 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.02132, allocations: 44.45 kB / 0.7965 GB, free: 60 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.02134, allocations: 8 kB / 0.7965 GB, free: 52 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.174e-05/0.02143, allocations: 115.2 kB / 0.7966 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001361/0.02157, allocations: 382.8 kB / 0.7969 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001039/0.02167, allocations: 152.1 kB / 0.7971 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.02167, allocations: 0 / 0.7971 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0001562/0.02183, allocations: 182.6 kB / 0.7973 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-06/0.02184, allocations: 5.344 kB / 0.7973 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.02184, allocations: 4 kB / 0.7973 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-06/0.02184, allocations: 4 kB / 0.7973 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.02195, allocations: 60.47 kB / 0.7973 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.02195, allocations: 8.984 kB / 0.7973 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.02206, allocations: 35.78 kB / 0.7974 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.02207, allocations: 15.92 kB / 0.7974 GB, free: 14.96 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.905e-05/0.02214, allocations: 201.5 kB / 0.7976 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.02217, allocations: 27.97 kB / 0.7976 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.02236, allocations: 154.8 kB / 0.7978 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.02237, allocations: 3.984 kB / 0.7978 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.02237, allocations: 0.5 kB / 0.7978 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.02237, allocations: 3.984 kB / 0.7978 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.02276, allocations: 0.5107 MB / 0.7983 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.02276, allocations: 4 kB / 0.7983 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.02282, allocations: 27.92 kB / 0.7983 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.02282, allocations: 5 kB / 0.7983 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.02283, allocations: 8 kB / 0.7983 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.02283, allocations: 3.938 kB / 0.7983 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.02284, allocations: 0.9375 kB / 0.7983 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.02298, allocations: 294.4 kB / 0.7986 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.02304, allocations: 60.88 kB / 0.7987 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.02306, allocations: 4 kB / 0.7987 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.02314, allocations: 11.94 kB / 0.7987 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.02317, allocations: 12.84 kB / 0.7987 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.02318, allocations: 8 kB / 0.7987 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000132/0.02331, allocations: 196 kB / 0.7989 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02331, allocations: 0 / 0.7989 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003635/0.02368, allocations: 221.4 kB / 0.7991 GB, free: 13.15 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.001002/0.02468, allocations: 0.5105 MB / 0.7996 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.02489, allocations: 190 kB / 0.7998 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.0249, allocations: 9.25 kB / 0.7998 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.174e-05/0.02495, allocations: 49.38 kB / 0.7998 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007653/0.02572, allocations: 224 kB / 0.8 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00097/0.02669, allocations: 0.7338 MB / 0.8008 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.992e-05/0.02676, allocations: 121.5 kB / 0.8009 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001463/0.0269, allocations: 71.27 kB / 0.8009 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.02716, allocations: 194.4 kB / 0.8011 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of SimCode: time 7.32e-07/0.02716, allocations: 0 / 0.8011 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of Templates: time 0.01124/0.0384, allocations: 10.15 MB / 0.811 GB, free: 1.352 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.0068625416606665]